[Intel-gfx] [PATCH 02/19] drm/i915: Convert non-blocking waits for requests over to using RCU
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri Aug 5 05:38:27 UTC 2016
On to, 2016-08-04 at 20:52 +0100, Chris Wilson wrote:
> We can completely avoid taking the struct_mutex around the non-blocking
> waits by switching over to the RCU request management (trading the mutex
> for a RCU read lock and some complex atomic operations). The improvement
> is that we gain further contention reduction, and overall the code
> become simpler due to the reduced mutex dancing.
>
> v2: Move i915_gem_fault tracepoint to start of function, before the
> unlocked wait.
"Move i915_gem_fault tracepoint *back* to start of ..." to be exact :)
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list