summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2005-03-28 03:18:09 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-28 03:18:09 -0800
commit15864f2201249477499f84b24d97d38da188330f (patch)
tree4193212fce619c79154b8b71a68639b67be5ba37 /fs/proc/array.c
parent781d2f1196f943e51798c14add87a100325004b4 (diff)
[PATCH] slab.[ch]: kmalloc() cleanups
I found a new idea for optimizing the loop in kmalloc - now the cleanup both reduces the size of the .text segment in mm/slab.o and speeds up largs kmallocs a bit. I still loose 2 cycles for kmalloc(32,GFP_KERNEL) compared to the current code, but I haven't figured out how I could optimize further. - inline kmem_find_general_cachep() - optimize kmem_find_general_cachep() and document the optimization. - remove duplicate code from __kmalloc(): call kmem_find_general_cachep() directly. Based on a patch from Renaud Lienhart <renaud.lienhart@free.fr> Signed-off-by: Manfred Spraul <Manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions