summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-05-07 16:57:26 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-05-08 16:59:16 +0300
commit71ace7ca2545d7cd7522988c16ad6c94e6169366 (patch)
tree82e59e510c5ebd5779600ceba7f20eb6de93774f /tools/perf/scripts/python/export-to-postgresql.py
parent4f6d8fcf1a53d4d544d9a13f70cb2669572b7ecb (diff)
downloadlinux-71ace7ca2545d7cd7522988c16ad6c94e6169366.tar.xz
drm/i915: Disable tasklet scheduling across initial scheduling
During request submission, we call the engine->schedule() function so that we may reorder the active requests as required for inheriting the new request's priority. This may schedule several tasklets to run on the local CPU, but we will need to schedule the tasklets again for the new request. Delay all the local tasklets until the end, so that we only have to process the queue just once. v2: Beware PREEMPT_RCU, as then local_bh_disable() is then not a superset of rcu_read_lock(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180507135731.10587-2-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions