mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Revert "mm: oom-kill: Add lmk_kill possible for ULMK"
This reverts commit de77105488.
The effectiveness of should_ulmk_retry() is being re-assessed - for the
time being, we'll let the OOM killer run, when an allocation in alloc_pages
fails.
Change-Id: Ife3af938fc356ce46f8d9c538aaf6bd5d0c404f8
Signed-off-by: Chris Goldsworthy <[email protected]>
This commit is contained in:
parent
2a1334dded
commit
a0107aafe0
5 changed files with 1 additions and 50 deletions
|
|
@ -1407,10 +1407,8 @@ int group_send_sig_info(int sig, struct kernel_siginfo *info,
|
|||
|
||||
if (!ret && sig) {
|
||||
ret = do_send_sig_info(sig, info, p, type);
|
||||
if (capable(CAP_KILL) && sig == SIGKILL) {
|
||||
if (capable(CAP_KILL) && sig == SIGKILL)
|
||||
add_to_oom_reaper(p);
|
||||
ulmk_update_last_kill();
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue