slab: fix alien cache handling
commit3cdc0ed0cea50ea08dd146c1bbc82b1bcc2e1b80
authorChristoph Lameter <clameter@sgi.com>
Fri, 8 Jun 2007 20:46:46 +0000 (8 13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:32 +0000 (8 17:23 -0700)
tree4eac1f33e52f3efeaf4cbd181877ebd25f354ee1
parenta210906c1b791af1434323f69427286039c9c8b9
slab: fix alien cache handling

cache_free_alien must be called regardless if we use alien caches or not.
cache_free_alien() will do the right thing if there are no alien caches
available.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: Pekka J Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c