aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 83f258298de7..a3395c28f561 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2245,6 +2245,12 @@ redo:
2245 stat(s, ALLOC_REFILL); 2245 stat(s, ALLOC_REFILL);
2246 2246
2247load_freelist: 2247load_freelist:
2248 /*
2249 * freelist is pointing to the list of objects to be used.
2250 * page is pointing to the page from which the objects are obtained.
2251 * That page must be frozen for per cpu allocations to work.
2252 */
2253 VM_BUG_ON(!c->page->frozen);
2248 c->freelist = get_freepointer(s, freelist); 2254 c->freelist = get_freepointer(s, freelist);
2249 c->tid = next_tid(c->tid); 2255 c->tid = next_tid(c->tid);
2250 local_irq_restore(flags); 2256 local_irq_restore(flags);