aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2006-01-08 01:00:36 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:12:39 -0800
commit4d268eba1187ef66844a6a33b9431e5d0dadd4ad (patch)
tree575aa29016688a07b2a80132a15cc8b5a5027f60 /usr
parent85289f98ddc13f6cea82c59d6ff78f9d205dfccc (diff)
downloadkernel_samsung_aries-4d268eba1187ef66844a6a33b9431e5d0dadd4ad.zip
kernel_samsung_aries-4d268eba1187ef66844a6a33b9431e5d0dadd4ad.tar.gz
kernel_samsung_aries-4d268eba1187ef66844a6a33b9431e5d0dadd4ad.tar.bz2
[PATCH] slab: extract slab order calculation to separate function
This patch moves the ugly loop that determines the 'optimal' size (page order) of cache slabs from kmem_cache_create() to a separate function and cleans it up a bit. Thanks to Matthew Wilcox for the help with this patch. Signed-off-by: Matthew Dobson <colpatch@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions