diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-09-29 02:01:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:21 -0700 |
commit | 01017a227044d64face2588fab9427a1da1bdb9f (patch) | |
tree | b1f369a8d20aff94447ac6acd18bbb23d268b443 /lib/locking-selftest-wlock-hardirq.h | |
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>
Diffstat (limited to 'lib/locking-selftest-wlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions