diff options
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -565,7 +565,7 @@ static void init_node_lock_keys(int q) | |||
565 | if (slab_state < UP) | 565 | if (slab_state < UP) |
566 | return; | 566 | return; |
567 | 567 | ||
568 | for (i = 1; i < PAGE_SHIFT + MAX_ORDER; i++) { | 568 | for (i = 1; i <= KMALLOC_SHIFT_HIGH; i++) { |
569 | struct kmem_cache_node *n; | 569 | struct kmem_cache_node *n; |
570 | struct kmem_cache *cache = kmalloc_caches[i]; | 570 | struct kmem_cache *cache = kmalloc_caches[i]; |
571 | 571 | ||