Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ef9c07c2 authored by Vinayak Menon's avatar Vinayak Menon Committed by Gerrit - the friendly Code Review server
Browse files

mm: avoid order-0 OOMs when there are LMK killable tasks



There is a case reported where there are lot of processes killable by
lowmemorykiller. One of the context P1 is in lowmem_scan holding the
mutex. System is slow due to stress test and P1 is taking time to
complete. This causes other tasks in direct reclaim path deplete their
MAX_RECLAIM_RETRIES and result in OOM. Allow non-costly allocs to retry
till there are no lowmemorykiller killable tasks.

Change-Id: I5532fff6889ad57ab3fb09bebe4b9256eb098e69
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 0aa9aa46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment