[Intel-gfx] [PATCH 0/2] Disable Android low memory killer

tim.gore at intel.com tim.gore at intel.com
Fri Sep 26 11:27:22 CEST 2014


From: Tim Gore <tim.gore at intel.com>

For some tests that put pressure on memory, the Android
lowmemorykiller needs to be disabled for the test to run to
completion. The first patch is a simple bit of preparation
to ensure that all (well written) "simple" tests exit via a
call to igt_exit, in the same way as tests with subtests do.
This is to make sure we can clean up by re-enabling the
lowmemorykiller.
The second patch is to disable the Android lowmemorykiller
during the common initialisation code (in oom_adjust_for_doom
to be exact) and to re-enstate it in igt_exit.

Tim Gore (2):
  lib/igt_core: make single/simple tests use igt_exit
  lib/igt_core.c: disable lowmemorykiller during tests

 lib/igt_core.c         | 77 +++++++++++++++++++++++++++++++++++++++++++++++---
 lib/igt_core.h         |  2 +-
 tests/igt_simulation.c |  2 +-
 3 files changed, 75 insertions(+), 6 deletions(-)

-- 
2.0.3




More information about the Intel-gfx mailing list