]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove the global cache shrink & rcu barrier on allocation failure
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Oct 2018 08:03:00 +0000 (09:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Oct 2018 11:03:53 +0000 (12:03 +0100)
commit53aa3f62881a4315701c75e61fb2179d290b8497
tree7794b3b408367335f0553c734ca4135061fe131e
parent3af1a8d6e35788053600d1c5a2f93c3208fa7c12
drm/i915: Remove the global cache shrink & rcu barrier on allocation failure

Earlier, we reasoned that having idled the gpu under mempressure, that
would be a good time to trim our request slabs in order to perform the
next request allocation. We have stopped performing the global operation
on the device (no idling) and wish to make the allocation failure
handling more local, so out with the global barrier that may take a long
time.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181005080300.9908-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c