summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-07-17 13:03:28 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:23:01 +0200
commitce15fea8274acca06daa1674322d37a7d3f0036b (patch)
treeade273da0bfdc0eadb176d847012ce1656b75c93 /mm/slab.c
parentSLUB: Style fix up the loop to disable small slabs (diff)
downloadlinux-ce15fea8274acca06daa1674322d37a7d3f0036b.tar.xz
linux-ce15fea8274acca06daa1674322d37a7d3f0036b.zip
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 <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions