aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-04-05 10:22:25 +0100
committerChris Wilson <[email protected]>2016-04-05 11:13:52 +0100
commit168cf367d7017a9d19522f8e59462c8b01c1212e (patch)
tree9e5838f8605f18fc5d5757d248299f38bd7c7876 /tools/perf/scripts/python/stackcollapse.py
parente87666b52f00fdb373349c4e6e1c09ced964e3c5 (diff)
drm/i915/shrinker: Refactor common uninterruptible locking
Both the oom and vmap notifier callbacks have a loop to acquire the struct_mutex and set the device as uninterruptible, within a certain time. Refactor the common code into a pair of functions. Suggested-by: Joonas Lahtinen <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions