commit | 01017a227044d64face2588fab9427a1da1bdb9f | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Fri Sep 29 02:01:13 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 29 09:18:21 2006 -0700 |
tree | b1f369a8d20aff94447ac6acd18bbb23d268b443 | |
parent | 972c4ea59c9dbf82647ee9665d9e945241911a51 [diff] |
[PATCH] oom_kill_task(): cleanup ->mm checks - It is not possible to have task->mm == &init_mm. - task_lock() buys nothing for 'if (!p->mm)' check. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>