From: tim.gore@intel.com
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 0/2] Disable Android low memory killer
Date: Fri, 26 Sep 2014 10:27:22 +0100 [thread overview]
Message-ID: <1411723644-26558-1-git-send-email-tim.gore@intel.com> (raw)
From: Tim Gore <tim.gore@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
next reply other threads:[~2014-09-26 9:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 9:27 tim.gore [this message]
2014-09-26 9:27 ` [PATCH 1/2] lib/igt_core: make single/simple tests use igt_exit tim.gore
2014-09-29 13:15 ` Daniel Vetter
2014-09-26 9:27 ` [PATCH 2/2] lib/igt_core.c: disable lowmemorykiller during tests tim.gore
2014-09-26 9:49 ` [PATCH 0/2] Disable Android low memory killer Chris Wilson
2014-09-26 10:08 ` Gore, Tim
2014-09-26 10:20 ` Chris Wilson
2014-09-26 10:29 ` Chris Wilson
2014-09-26 10:46 ` Gore, Tim
2014-09-26 11:14 ` Chris Wilson
2014-09-29 13:19 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1411723644-26558-1-git-send-email-tim.gore@intel.com \
--to=tim.gore@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox