From: Pekka Enberg Date: Sun, 6 May 2007 21:49:03 +0000 (-0700) Subject: slab: ensure cache_alloc_refill terminates X-Git-Tag: v2.6.22-rc1~992 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714b8171af9c930a59a0da8f6fe50518e70ab035;p=pandora-kernel.git slab: ensure cache_alloc_refill terminates If slab->inuse is corrupted, cache_alloc_refill can enter an infinite loop as detailed by Michael Richardson in the following post: . This adds a BUG_ON to catch those cases. Cc: Michael Richardson Acked-by: Christoph Lameter Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed