[PATCH] out_of_memory() locking fix
authorAndrew Morton <akpm@osdl.org>
Thu, 2 Mar 2006 10:54:28 +0000 (02:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Mar 2006 16:33:07 +0000 (08:33 -0800)
commit140ffcec4def3ee3af7565b2cf1d3b2580f7e180
tree466da398c345f5b6f2760c124beec84403b35655
parentb1e2d907cb748ef40b180184f36e594d35f12ba6
[PATCH] out_of_memory() locking fix

I seem to have lost this read_unlock().

While we're there, let's turn that interruptible sleep unto uninterruptible,
so we don't get a busywait if signal_pending().  (Again.  We seem to have a
habit of doing this).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c