projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: oom_kill: clean up victim marking and exiting interfaces
[linux-2.6-block.git]
/
kernel
/
exit.c
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 22fcc05dec4022fa54f2507cb13eddf2137abacc..185752a729f6657fb9e83c54c609cb145760bbe9 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-436,7
+436,7
@@
static void exit_mm(struct task_struct *tsk)
mm_update_next_owner(mm);
mmput(mm);
if (test_thread_flag(TIF_MEMDIE))
-
unmark
_oom_victim();
+
exit
_oom_victim();
}
static struct task_struct *find_alive_thread(struct task_struct *p)