diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-24 19:26:53 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-30 13:46:23 +0300 |
| commit | 00c26cf9ce4eadf3680e431a374eb4cdc6e824cd (patch) | |
| tree | 69c16d4813bee1b3deac1e03b629a3126bcd2aeb /scripts/stackusage | |
| parent | b5a824250e4aac4fb76c5076b6a5e460e52c831a (diff) | |
| download | linux-00c26cf9ce4eadf3680e431a374eb4cdc6e824cd.tar.xz | |
drm/i915: Remove toplevel struct_mutex locking from debugfs/i915_drop_caches
I have a plan to write a quick test to exercise concurrent usage of
i915_gem_shrink(), the simplest way looks to be to have multiple threads
using debugfs/i915_drop_caches. However, we currently take one lock over
the entire function, serialising the calls into i915_gem_shrink() so
reduce the lock coverage.
Testcase: igt/gem_shrink/reclaim
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524162653.5446-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
