aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-11-05 17:06:40 +0000
committerChris Wilson <[email protected]>2018-11-06 13:14:05 +0000
commite6db7f4d7c5005258b862a5ed1732756fccb6bfa (patch)
treeb15956ff7e61fe660c7fdffdc3bc154c241a4b42 /tools/perf/scripts/python/export-to-postgresql.py
parentbfe60a0272ddadcdfddac77fcfa1860e97c6943d (diff)
drm/i915: Break long iterations for get/put shmemfs pages
As we may have to iterate a few thousand elements to acquire and release the shmemfs backing storage for a GPU object, we need to break up the long loop with cond_resched() to retain a modicum of low latency for other processes. Testcase: igt/benchmarks/gem_syslatency Signed-off-by: Chris Wilson <[email protected]> Cc: Kuo-Hsin Yang <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions