aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 0a5a1001590b..b49570ca08b5 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1681,8 +1681,8 @@ static __always_inline void slab_free(struct kmem_cache *s,
1681 unsigned long flags; 1681 unsigned long flags;
1682 1682
1683 local_irq_save(flags); 1683 local_irq_save(flags);
1684 debug_check_no_locks_freed(object, s->objsize);
1685 c = get_cpu_slab(s, smp_processor_id()); 1684 c = get_cpu_slab(s, smp_processor_id());
1685 debug_check_no_locks_freed(object, c->objsize);
1686 if (likely(page == c->page && c->node >= 0)) { 1686 if (likely(page == c->page && c->node >= 0)) {
1687 object[c->offset] = c->freelist; 1687 object[c->offset] = c->freelist;
1688 c->freelist = object; 1688 c->freelist = object;