aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichal Hocko <[email protected]>2016-05-23 16:26:17 -0700
committerLinus Torvalds <[email protected]>2016-05-23 17:04:14 -0700
commitb5637051f1ed48f68370234e879d40d8dd4ab087 (patch)
tree2e070c386b74fa8170b577f765e556e3e4d65d30 /tools/perf/scripts/python/export-to-postgresql.py
parent2267c2999b49682ae4801dab3b1ac96584f57da0 (diff)
drm/amdgpu: make amdgpu_mn_get wait for mmap_sem killable
amdgpu_mn_get which is called during ioct path relies on mmap_sem for write. If the waiting task gets killed by the oom killer it would block oom_reaper from asynchronous address space reclaim and reduce the chances of timely OOM resolving. Wait for the lock in the killable mode and return with EINTR if the task got killed while waiting. [[email protected]: use ERR_PTR() to return from amdgpu_mn_get] Signed-off-by: Michal Hocko <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Reviewed-by: Christian König <[email protected]> Cc: David Airlie <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions