[Intel-gfx] [PATCH] drm/i915: Add an rcu_barrier option to i915_drop_caches
Matthew Auld
matthew.william.auld at gmail.com
Fri Oct 11 18:10:45 UTC 2019
On Fri, 11 Oct 2019 at 18:38, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Sometimes a test has to wait for RCU to complete a grace period and
> perform its callbacks, for example waiting for a close(fd) to actually
> perform the fput(filp) and so trigger all the callbacks such as closing
> GEM contexts. There is no trivial means of triggering an RCU barrier
> from userspace, so add one for our convenience in
> debugfs/i915_drop_caches
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.william.auld at gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld at gmail.com>
More information about the Intel-gfx
mailing list