From: Pekka Enberg Date: Sat, 25 Mar 2006 11:06:43 +0000 (-0800) Subject: [PATCH] slab: optimize constant-size kzalloc calls X-Git-Tag: v2.6.17-rc1~855 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40c07ae8daa659b8feb149c84731629386873c16;p=pandora-kernel.git [PATCH] slab: optimize constant-size kzalloc calls As suggested by Eric Dumazet, optimize kzalloc() calls that pass a compile-time constant size. Please note that the patch increases kernel text slightly (~200 bytes for defconfig on x86). Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed