Skip to content

RFC Shrinker tweaks/fixes?

Tvrtko Ursulin intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915: Reduce recursive mutex locking from the shrinkerdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_shrinker.c+14 -152 replies
2/4drm/i915: Fix timeout handling in i915_gem_shrinker_vmapdrivers/gpu/drm/i915/i915_gem_shrinker.c+6 -60 replies
3/4drm/i915: Return immediately if trylock fails for direct-reclaimdrivers/gpu/drm/i915/i915_gem_shrinker.c+17 -130 replies
4/4drm/i915: Remove trylock-looping from the shrinkerdrivers/gpu/drm/i915/i915_gem_shrinker.c+2 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/4] Shrinker tweaks/fixes?

From: Tvrtko Ursulin <[email protected]>

A few patches to put my money where my mouth is regarding review comments where I am suggesting to split up a patch for safety.

This ends one step short compared to the parent
(https://patchwork.freedesktop.org/patch/273593/) by omitting the final mutex_lock_nested step, in order to see what kind of lockdep traces we get, or if none for that to be a clear sign we need better tests.

Tvrtko Ursulin (4):
drm/i915: Reduce recursive mutex locking from the shrinker drm/i915: Fix timeout handling in i915_gem_shrinker_vmap drm/i915: Return immediately if trylock fails for direct-reclaim drm/i915: Remove trylock-looping from the shrinker

 drivers/gpu/drm/i915/i915_drv.h          | 11 ++---
 drivers/gpu/drm/i915/i915_gem_shrinker.c | 51 +++++++++++-------------
 2 files changed, 29 insertions(+), 33 deletions(-)
Signature · 6 lines
2.19.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx