Skip to content
Snippets Groups Projects
Commit a64a29e7 authored by Chris Wilson's avatar Chris Wilson :thinking:
Browse files

i915/gem_eio: Flush RCU before timing our own critical sections


We cannot control how long RCU takes to find a quiescent point as that
depends upon the background load and so may take an arbitrary time.
Instead, let's try to avoid that impacting our measurements by inserting
an rcu_barrier() before our critical timing sections and hope that hides
the issue, letting us always perform a fast reset. Fwiw, we do the
expedited RCU synchronize, but that is not always enough.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Acked-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
parent 620365ab
No related branches found
No related tags found
No related merge requests found
Pipeline #77952 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment