diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1656,6 +1656,7 @@ static void __always_inline slab_free(struct kmem_cache *s, | |||
1656 | unsigned long flags; | 1656 | unsigned long flags; |
1657 | 1657 | ||
1658 | local_irq_save(flags); | 1658 | local_irq_save(flags); |
1659 | debug_check_no_locks_freed(object, s->objsize); | ||
1659 | if (likely(page == s->cpu_slab[smp_processor_id()] && | 1660 | if (likely(page == s->cpu_slab[smp_processor_id()] && |
1660 | !SlabDebug(page))) { | 1661 | !SlabDebug(page))) { |
1661 | object[page->offset] = page->lockless_freelist; | 1662 | object[page->offset] = page->lockless_freelist; |