aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-11-11 13:32:04 +0000
committerChris Wilson <[email protected]>2019-11-11 15:46:45 +0000
commitd323c9b88260bc2cf3e3ed4bc741ab69643e0233 (patch)
treeffbb2dd4412b57556af3bd82d45ac9ec3b1a9d27 /tools/perf/scripts/python/netdev-times.py
parent0d4bbe3d407f79438dc4f87943db21f7134cfc65 (diff)
drm/i915/userptr: Handle unlocked gup retries
Enable gup to retry and fault the pages outside of the mmap_sem lock in our worker. As we are inside our worker, outside of any critical path, we can allow the mmap_sem lock to be dropped in order to service a page fault; this in turn allows the mm to populate the page using a slow fault handler. References: 5b56d49fc31d ("mm: add locked parameter to get_user_pages_remote()") Testcase: igt/gem_userptr/userfault Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions