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:
Chris Goldsworthy 2020-02-25 13:11:21 -08:00
commit a0107aafe0
5 changed files with 1 additions and 50 deletions

View file

@ -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;