[PATCH] mm: fix mm_struct reference counting bugs in mm/oom_kill.c
authorDave Peterson <dsp@llnl.gov>
Wed, 19 Apr 2006 05:20:44 +0000 (22:20 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:50 +0000 (09:13 -0700)
commit013159227b840dfd441bd2e4c8b4d77ffb3cc42e
tree15bd8349b4a105efc75c77dcd0c1a579ecd87ab4
parent97c2c9b84d0c1edf4926b13661d5af3f0edccbce
[PATCH] mm: fix mm_struct reference counting bugs in mm/oom_kill.c

Fix oom_kill_task() so it doesn't call mmput() (which may sleep) while
holding tasklist_lock.

Signed-off-by: David S. Peterson <dsp@llnl.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c