projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oom: add helpers for setting and clearing TIF_MEMDIE
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
exit.c
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 6806c55475eec17be40b1d6c53cf9fe007376279..02b3d1ab2ec0d74799b669a0a813dfd55bc30813 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-435,7
+435,7
@@
static void exit_mm(struct task_struct *tsk)
task_unlock(tsk);
mm_update_next_owner(mm);
mmput(mm);
-
clear_thread_flag(TIF_MEMDIE
);
+
unmark_oom_victim(
);
}
static struct task_struct *find_alive_thread(struct task_struct *p)