aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-07-05 15:26:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-07-06 11:50:52 +0100
commitddfc925851b4f0ae36b21a5b545e4002c4259c42 (patch)
treeccda1654bfd7f00dc60c96ee74a9140b5413d679 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/i915: Check new context against kernel_context after reporting an error (diff)
downloadlinux-dev-ddfc925851b4f0ae36b21a5b545e4002c4259c42.tar.xz
linux-dev-ddfc925851b4f0ae36b21a5b545e4002c4259c42.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions