summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-05-24 17:31:43 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-05-24 17:34:31 +0100
commit00ce341b95c718611689ded8ccec45086186c5b7 (patch)
tree5fa194b96d780dfcd1a6f5c56f88f5628573a890 /benchmarks
parent056765c412951b991836126412fbd6ffb8054013 (diff)
igt/gem_shrink: Exercise concurrent calls to i915_gem_shrink()
Just recently I once again made the mistake of thinking we could do a plain mutex_lock() inside i915_gem_shrink(). However, such a lock is liable to cyclic deadlocks between multiple relcaimers. This can be reported by lockdep, but we need contention in the shrinker for it to spot this particular mistake. The easiest way to explicit cause contention is via concurrent calls to debugfs/i915_drop_caches whilst the GPU is busy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks')
0 files changed, 0 insertions, 0 deletions