From: Christoph Lameter Date: Tue, 17 Jul 2007 11:03:30 +0000 (-0700) Subject: SLUB: Do not allocate object bit array on stack X-Git-Tag: v2.6.23-rc1~735 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=434e245ddd3f14aa8eef97cae16c71b863ab092a;p=pandora-kernel.git SLUB: Do not allocate object bit array on stack The objects per slab increase with the current patches in mm since we allow up to order 3 allocs by default. More patches in mm actually allow to use 2M or higher sized slabs. For slab validation we need per object bitmaps in order to check a slab. We end up with up to 64k objects per slab resulting in a potential requirement of 8K stack space. That does not look good. Allocate the bit arrays via kmalloc. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed