[Bug 84900] [ILK/BYT Bisected]igt/kms_force_connector core dumped
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 13 19:49:44 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84900
lu hua <huax.lu at intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Summary|[ILK/BYT |[ILK/BYT
|Regression]igt/kms_force_co |Bisected]igt/kms_force_conn
|nnector core dumped |ector core dumped
--- Comment #3 from lu hua <huax.lu at intel.com> ---
Bisect shows: 5782eca1e19e85a04ad402fa4094aa1b5f9c53ce is the first bad commit
commit 5782eca1e19e85a04ad402fa4094aa1b5f9c53ce
Author: Tim Gore <tim.gore at intel.com>
AuthorDate: Wed Oct 1 13:25:20 2014 +0100
Commit: Daniel Vetter <daniel.vetter at ffwll.ch>
CommitDate: Wed Oct 1 14:44:30 2014 +0200
lib/igt_core.c: disable lowmemorykiller during tests
Several IGT tests cycle through a lot of GEM memory and
when running these tests on Android they tend to get
killed by the lowmemorykiller. The lowmemorykiller really
is not usefull in this context and is just preventing the
test from doing its job. This commit adds a function to
disable the lowmemorykiller by writing "9999" to its
oom adj parameter, which means it will never "select"
any process to kill. The normal linux oom killer is still
there to protect the kernel.
The low memory killer is disabled during the common
init function and then re-enabled by the exit handler.
To make this work for single tests the exit handler is now
installed in the common init function also so that it is
invoked for all tests.
This is just a hack to get round the fact that the i915
driver uses the concept of purgeable memory which is not
understood by the lowmemorykiller. If this ever gets
fixed then this patch can be removed.
Signed-off-by: Tim Gore <tim.gore at intel.com>
[danvet: A bit of polish (coding style, static and rename
check_igt_exit to common_exit_handler, drop the is_disabled check
since we only call this once now).]
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141014/6bf614ee/attachment.html>
More information about the intel-gfx-bugs
mailing list