Revert "ANDROID: mm: oom_kill: reap memory of a task that receives SIGKILL"

This reverts commit a7af91adc7 ("ANDROID: mm: oom_kill: reap memory of
a task that receives SIGKILL") as this functionality is moved to vendor
hook based approach.

Bug: 189803002
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Change-Id: Ica0d6df22fb81bf430e9b4c7d12b36ab7d44dab8
This commit is contained in:
Charan Teja Reddy
2021-06-03 10:46:49 +05:30
committed by Suren Baghdasaryan
parent 4794cb419d
commit 3f491d10dc
4 changed files with 7 additions and 55 deletions

View File

@@ -129,7 +129,4 @@ extern struct task_struct *find_lock_task_mm(struct task_struct *p);
extern int sysctl_oom_dump_tasks;
extern int sysctl_oom_kill_allocating_task;
extern int sysctl_panic_on_oom;
/* calls for LMK reaper */
extern void add_to_oom_reaper(struct task_struct *p);
#endif /* _INCLUDE_LINUX_OOM_H */