projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af328a
)
SLUB: Style fix up the loop to disable small slabs
author
Christoph Lameter
<clameter@sgi.com>
Tue, 17 Jul 2007 11:03:28 +0000
(
04:03
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:01 +0000
(10:23 -0700)
Do proper spacing and we only need to do this in steps of 8.
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>
mm/slub.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index b1635f929b87f58f6e1485db577f99f0ed40e733..bb278c886927fbd46fbac3c64c477b86ac76917b 100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-2578,7
+2578,7
@@
void __init kmem_cache_init(void)
BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 ||
(KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1)));
- for (i = 8; i < KMALLOC_MIN_SIZE;
i++
)
+ for (i = 8; i < KMALLOC_MIN_SIZE;
i += 8
)
size_index[(i - 1) / 8] = KMALLOC_SHIFT_LOW;
slab_state = UP;