1. 08 2月, 2019 3 次提交
  2. 06 2月, 2019 1 次提交
  3. 05 2月, 2019 1 次提交
  4. 02 2月, 2019 1 次提交
  5. 31 1月, 2019 1 次提交
  6. 30 1月, 2019 2 次提交
  7. 29 1月, 2019 3 次提交
  8. 25 1月, 2019 2 次提交
  9. 21 1月, 2019 1 次提交
  10. 17 1月, 2019 1 次提交
  11. 16 1月, 2019 1 次提交
  12. 15 1月, 2019 8 次提交
  13. 11 1月, 2019 1 次提交
  14. 09 1月, 2019 1 次提交
  15. 08 1月, 2019 1 次提交
    • C
      drm/i915: Return immediately if trylock fails for direct-reclaim · d25f71a1
      Chris Wilson 提交于
      Ignore trying to shrink from i915 if we fail to acquire the struct_mutex
      in the shrinker while performing direct-reclaim. The trade-off being
      (much) lower latency for non-i915 clients at an increased risk of being
      unable to obtain a page from direct-reclaim without hitting the
      oom-notifier. The proviso being that we still keep trying to hard
      obtain the lock for kswapd so that we can reap under heavy memory
      pressure.
      
      v2: Taint all mutexes taken within the shrinker with the struct_mutex
      subclass as an early warning system, and drop I915_SHRINK_ACTIVE from
      vmap to reduce the number of dangerous paths. We also have to drop
      I915_SHRINK_ACTIVE from oom-notifier to be able to make the same claim
      that ACTIVE is only used from outside context, which fits in with a
      longer strategy of avoiding stalls due to scanning active during
      shrinking.
      
      The danger in using the subclass struct_mutex is that we declare
      ourselves more knowledgable than lockdep and deprive ourselves of
      automatic coverage. Instead, we require ourselves to mark up any mutex
      taken inside the shrinker in order to detect lock-inversion, and if we
      miss any we are doomed to a deadlock at the worst possible moment.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190107115509.12523-1-chris@chris-wilson.co.uk
      d25f71a1
  16. 02 1月, 2019 3 次提交
  17. 31 12月, 2018 2 次提交
  18. 28 12月, 2018 2 次提交
  19. 22 12月, 2018 2 次提交
  20. 18 12月, 2018 1 次提交
  21. 13 12月, 2018 2 次提交