mm: oom: enable the sysctl_reap_mem_on_sigkill by default

Enable the reaping of memory on a sigkill by default. This helps in
faster releasing of memory pages to buddy.

Change-Id: I90a508e6d16099527991674f6b4efdc55f415c59
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This commit is contained in:
Charan Teja Reddy 2019-08-09 19:26:04 +05:30 • committed by Chris Goldsworthy
commit 44783e7f43

View file

@ -56,7 +56,7 @@ int sysctl_panic_on_oom =
IS_ENABLED(CONFIG_DEBUG_PANIC_ON_OOM) ? 2 : 0;
int sysctl_oom_kill_allocating_task;
int sysctl_oom_dump_tasks = 1;
int sysctl_reap_mem_on_sigkill;
int sysctl_reap_mem_on_sigkill = 1;
/*
* Serializes oom killer invocations (out_of_memory()) from all contexts to