[igt-dev] [PATCH i-g-t] i915/gem_pread, gem_pwrite: Exercise exhaustion

Matthew Auld matthew.auld at intel.com
Fri Nov 6 15:50:50 UTC 2020


On 05/11/2020 18:43, Chris Wilson wrote:
> Use userfault to arbitrarily delay the completion of copy_from_user() in
> order to trap many, many threads inside the core of
> gem_pread/gem_pwrite. This allows us to exhaust the preferred paths and
> potentially trip over unexpected fallback paths.
> 
> Suggested-by: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>



More information about the igt-dev mailing list