aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-05-29 19:32:03 +0100
committerChris Wilson <[email protected]>2020-05-29 23:38:28 +0100
commitee3fab5b32c0ac81f03d5af0f9646d1741169da5 (patch)
tree90eeef92c4a4e7678535866c76bf7f521acec793 /tools/perf/scripts/python
parentb55230e5e800868961fc271b26d9ce53ae1f691e (diff)
drm/i915/gem: Taint all shrinkable object locks
If we declare that an object type is shrinkable (any that we can reclaim to recover system pages), make sure we taint the object mutex so that lockdep expects us to use it within fs_reclaim. lockdep will then complain the first time we try to allocate while holding the plain mutex, as doing so invites potential recursion. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions