aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2015-05-15 11:42:21 +0100
committerDaniel Vetter <[email protected]>2015-05-20 11:26:03 +0200
commit281400ff0fff07fc37af5ccccc79f47a8d7e8929 (patch)
tree62171b93741dde76b231dcd7508ddd968a4cf44f /tools/perf/scripts/python/export-to-postgresql.py
parent8504c74c7ae48b4b8ed1f1c0acf67482a7f45c93 (diff)
drm/i915: Use uninterruptible mutex_lock for userptr bo creation
Mika encountered one pathological scenario under X where acquiring all the mm locks (required to insert a mmu notifier) was very slow, so slow that by the time we tried to lock the struct_mutex with the usual call to i915_mutex_lock_interruptible(), X's signal timer had fired causing us to restart the ioctl (and so looped indefinitely). While I suspect this is the result of another bug (something leaking mm perhaps?) we can forgo the error checking and interuptible nature of the lock here so we only have to pay the expense once and get on with it. This does expose the userptr creation routine to a driver livelock though by not being interruptible. Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> [danvet: Init ret to avoid issues reported by PRTS.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions