From: Christoph Lameter Date: Tue, 17 Jul 2007 11:03:28 +0000 (-0700) Subject: SLUB: Do not use length parameter in slab_alloc() X-Git-Tag: v2.6.23-rc1~738 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce15fea8274acca06daa1674322d37a7d3f0036b;p=pandora-kernel.git SLUB: Do not use length parameter in slab_alloc() We can get to the length of the object through the kmem_cache_structure. The additional parameter does no good and causes the compiler to generate bad code. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed