From 714b8171af9c930a59a0da8f6fe50518e70ab035 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 6 May 2007 14:49:03 -0700 Subject: [PATCH] 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-format-patch failed