Revert "mm, oom: check LMK enabled for pagefault_out_of_memory()"
This reverts commit 94c0e1ab2c.
We will not use in-kernel LMK any longer so do not
make divergent from upstream unnecessary.
Bug: 129765516
Change-Id: I2cb3d156de1305ba517e9544679634b2e7fe0fc5
Signed-off-by: Andrew Chant <achant@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
committed by
Pranav Vashi
parent
f9d4d4f4d7
commit
a6ed537986
@@ -1087,9 +1087,6 @@ void pagefault_out_of_memory(void)
|
||||
static DEFINE_RATELIMIT_STATE(pfoom_rs, DEFAULT_RATELIMIT_INTERVAL,
|
||||
DEFAULT_RATELIMIT_BURST);
|
||||
|
||||
if (IS_ENABLED(CONFIG_HAVE_LOW_MEMORY_KILLER))
|
||||
return;
|
||||
|
||||
if (mem_cgroup_oom_synchronize(true))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user