diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2578,7 +2578,7 @@ void __init kmem_cache_init(void) | |||
2578 | BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || | 2578 | BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 || |
2579 | (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); | 2579 | (KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1))); |
2580 | 2580 | ||
2581 | for (i = 8; i < KMALLOC_MIN_SIZE;i++) | 2581 | for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) |
2582 | size_index[(i - 1) / 8] = KMALLOC_SHIFT_LOW; | 2582 | size_index[(i - 1) / 8] = KMALLOC_SHIFT_LOW; |
2583 | 2583 | ||
2584 | slab_state = UP; | 2584 | slab_state = UP; |