|
@@ -1978,7 +1978,7 @@ int put_cpu_partial(struct kmem_cache *s, struct page *page, int drain)
|
|
page->pobjects = pobjects;
|
|
page->pobjects = pobjects;
|
|
page->next = oldpage;
|
|
page->next = oldpage;
|
|
|
|
|
|
- } while (this_cpu_cmpxchg(s->cpu_slab->partial, oldpage, page) != oldpage);
|
|
|
|
|
|
+ } while (irqsafe_cpu_cmpxchg(s->cpu_slab->partial, oldpage, page) != oldpage);
|
|
stat(s, CPU_PARTIAL_FREE);
|
|
stat(s, CPU_PARTIAL_FREE);
|
|
return pobjects;
|
|
return pobjects;
|
|
}
|
|
}
|