From: Andrew Morton Date: Thu, 17 May 2007 05:10:54 +0000 (-0700) Subject: slub: fix handling of oversized slabs X-Git-Tag: v2.6.22-rc2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade3aff25fb2dce76e2a9b53e1334bd0a174f739;p=pandora-kernel.git slub: fix handling of oversized slabs I'm getting zillions of undefined references to __kmalloc_size_too_large on alpha. For some reason alpha is building out-of-line copies of kmalloc_slab() into lots of compilation units. It turns out that gcc just isn't smart enough to work out that __builtin_contant_p(size)==true implies that __builtin_contant_p(index)==true. So let's give it a bit of help. Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed