diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2010-08-10 02:19:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 05:45:01 +0200 |
commit | ab290adbaf8f46770f014ea87968de5baca29c30 (patch) | |
tree | e6d9673a76ed7804d0b3ff858c2ac401971c1560 /net | |
parent | oom: oom_kill_process() doesn't select kthread child (diff) | |
download | linux-ab290adbaf8f46770f014ea87968de5baca29c30.tar.xz linux-ab290adbaf8f46770f014ea87968de5baca29c30.zip |
oom: make oom_unkillable_task() helper function
Presently we have the same task check in two places. Unify it.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions