[Intel-gfx] [PATCH] drm/i915: Make the GEM reclaim workqueue high priority

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 13 16:24:48 UTC 2020


Quoting Tang, CQ (2020-10-13 17:19:27)
> Chris,
>     I tested this patch. It is still not enough, I keep catch running out of lmem.  Every worker invocation takes larger and larger freeing object count.
> 

Was that with the immediate call (not via call_rcu) to
__i915_gem_free_object_rcu?

If this brings the freelist under control, the next item is judicious
use of cond_synchronize_rcu(). We just have to make sure we penalize the
right hog.

Otherwise, we have to shotgun apply i915_gem_flush_free_objects() and
still find somewhere to put the rcu sync.
-Chris


More information about the Intel-gfx mailing list