]> git.baikalelectronics.ru Git - kernel.git/commit
oom: do not take callback_mutex
authorDavid Rientjes <rientjes@google.com>
Wed, 17 Oct 2007 06:25:58 +0000 (23:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:46 +0000 (08:42 -0700)
commit047129561d8f6f1930b91dc73b8d0995829e1dfc
treedd71c5613b27e8c309d7bbe48798e6cd5c4145cc
parent06bb8bd0295ec0227913748d0853e7e78001214b
oom: do not take callback_mutex

Since no task descriptor's 'cpuset' field is dereferenced in the execution of
the OOM killer anymore, it is no longer necessary to take callback_mutex.

[akpm@linux-foundation.org: restore cpuset_lock for other patches]
Cc: Andrea Arcangeli <andrea@suse.de>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c