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

Skip to content
Commit 897b9898 authored by Prakash Gupta's avatar Prakash Gupta
Browse files

lowmemorykiller: avoid selecting task reaped by oom_reaper



With oom_reaper enabled for lowmemorykiller, even when the oom_reaper reaps
the task, the task struct will have LMK_WAITING flag set.  As a side
effect, during lowmem_deathpending_timeout period, lowmemorykiller will not
select any task while any task has LMK_WAITING flag set.

Skip tasks from lmk selection if they are reaped by oom_reaper.

Change-Id: I7edb02135df7e54d9364b971caf25ab6ace9a027
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent a8bac554
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment