drm/i915/selftests: Disable shrinker across mmap-exhaustion
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Oct 2018 10:37:48 +0000 (11:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 11 Oct 2018 15:04:09 +0000 (16:04 +0100)
commit0b4bf7ca9be824dde6ff63dd2ceba2d1367f8a58
tree8535dfb17678821a125f2fabc91db2b434744130
parente87b0bbc9f0380d403f8f2f6abba0d51c74d944f
drm/i915/selftests: Disable shrinker across mmap-exhaustion

For mmap-exhaustion, we deliberately put the system under a large amount
of pressure to ensure that we are able to reap mmap-offsets from dead
objects. If background activity does that reaping for us, that defeats
the purpose of the test and in some cases will fail our sanity checks
(because of the fake activity we use to prevent the idle worker).

Fixes: 932cac10c8fb ("drm/i915/selftests: Prevent background reaping of acti
ve objects")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181011103748.18387-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_object.c