]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Suppress no action noise from oom shrinker
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Oct 2014 10:25:17 +0000 (11:25 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:02 +0000 (16:34 +0200)
commite1b77d5d4c294d4ecc764facb1edcca368b0f877
tree0a43696f0001f7e9317113fdfeb26bcb86c6ec25
parentf8b442b8f9aee18c6c340436761143183fbe06c1
drm/i915: Suppress no action noise from oom shrinker

If we are not able to free anything (the shrinker leaves nothing on the
global object lists), do not log anything. This is useful when other
subsystems are being stress-tested for their oom behaviour and i915.ko
is shouting into the logs about doing nothing.

Reported-by: Dave Jones <davej@redhat.com>
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