]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Guard pages being reaped by OOM whilst binding-to-GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Nov 2012 10:45:16 +0000 (10:45 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Nov 2012 16:45:04 +0000 (17:45 +0100)
commit0f67a4a91db4a524149eea73a67c974c45a6ea55
treeac3d3d7036c3bb386145ff4306665a1f7b88f5c5
parent46136eba93c4d79e004a28e2ae93808575bfed2c
drm/i915: Guard pages being reaped by OOM whilst binding-to-GTT

In the circumstances that the shrinker is allowed to steal the mutex
in order to reap pages, we need to be careful to prevent it operating on
the current object and shooting ourselves in the foot.

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