Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c8305d3 authored by Charan Teja Reddy's avatar Charan Teja Reddy
Browse files

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: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent 8fbc286d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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