]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
slob: fix lockup in slob_free()
authorNick Piggin <nickpiggin@yahoo.com.au>
Mon, 16 Mar 2009 10:00:28 +0000 (21:00 +1100)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 23 Mar 2009 08:40:45 +0000 (10:40 +0200)
commit6fb8f424393025674fde7869b59f485d1e352182
tree1ba7de5a6c9cba9cf3c3e57b2355b56cb5eb670f
parentb578f3fcca1e78624dfb5f358776e63711d7fda2
slob: fix lockup in slob_free()

Don't hold SLOB lock when freeing the page. Reduces lock hold width. See
the following thread for discussion of the bug:

  http://marc.info/?l=linux-kernel&m=123709983214143&w=2

Reported-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slob.c