--- a/mm/slub.c~mm-slubc-replace-cpu_slab-partial-with-wrapped-apis +++ a/mm/slub.c @@ -2205,11 +2205,11 @@ static void unfreeze_partials(struct kme struct kmem_cache_node *n = NULL, *n2 = NULL; struct page *page, *discard_page = NULL; - while ((page = c->partial)) { + while ((page = slub_percpu_partial(c))) { struct page new; struct page old; - c->partial = page->next; + slub_set_percpu_partial(c, page); n2 = get_node(s, page_to_nid(page)); if (n != n2) {