]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Abandon oom quickly if killed by a signal
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Jul 2014 10:28:00 +0000 (11:28 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:28 +0000 (07:05 +0200)
commitaeca443f7a8825fdbb4860b45c3b0735d79906c5
tree4f8c8025d34309373d84fc4175d535acc5c0f445
parent1c1a50731d220c90b7e28063f65b5bf487bdf876
drm/i915: Abandon oom quickly if killed by a signal

Whilst waiting to obtain our locks for the last resort shrinking before
an oom, we check whether or not a fatal signal was pending. If there was,
we do not need to keep waiting as the oom will be aborted.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c