summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-07-05 17:26:32 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-07-06 13:50:52 +0300
commitddfc925851b4f0ae36b21a5b545e4002c4259c42 (patch)
treeccda1654bfd7f00dc60c96ee74a9140b5413d679 /tools/perf/scripts/python/call-graph-from-sql.py
parente4d5dc218c4a1d1f555448825f5a8d7b1ac82959 (diff)
downloadlinux-ddfc925851b4f0ae36b21a5b545e4002c4259c42.tar.xz
drm/i915: Move stale context reaping to common i915_gem_context_create
We need to reap the stale contexts for all new contexts, be they created by user in i915_gem_context_ioctl or from opening a new file in i915_gem_context_open. Both paths may be called very frequently accumulating many stale contexts before any worker has a chance to run and free their memory. Fixes: 1acfc104cdf8 ("drm/i915: Enable rcu-only context lookups") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170705142634.18554-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions