aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-07-05 15:26:32 +0100
committerChris Wilson <[email protected]>2017-07-06 11:50:52 +0100
commitddfc925851b4f0ae36b21a5b545e4002c4259c42 (patch)
treeccda1654bfd7f00dc60c96ee74a9140b5413d679 /tools/lib/api/debug.c
parente4d5dc218c4a1d1f555448825f5a8d7b1ac82959 (diff)
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 <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions