mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
271ccd3018
commit
44783e7f43
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue