mm-slubc-replace-cpu_slab-partial-with-wrapped-apis.patch removed from -mm tree
The patch titled
Subject: mm/slub.c: replace cpu_slab->partial with wrapped APIs
has been removed from the -mm tree. Its filename was
mm-slubc-replace-cpu_slab-partial-with-wrapped-apis.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: chenqiwu <[email protected]>
Subject: mm/slub.c: replace cpu_slab->partial with wrapped APIs
There are slub_percpu_partial() and slub_set_percpu_partial() APIs to wrap kmem_cache->cpu_partial. This patch will use the two to replace cpu_slab->partial in slub code.
---
mm/slub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/slub.c renamed from mm/slub.c~mm-slubc-replace-cpu_slab-partial-with-wrapped-apis +2 -2
@@ -2205,11 +2205,11 @@ static void unfreeze_partials(struct kmestruct 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) {
_
Patches currently in -mm which might be from [email protected] are
mm-memory_hotplug-use-__pfn_to_section-instead-of-open-coding.patch mm-fix-ambiguous-comments-for-better-code-readability.patch lib-rbtree-fix-coding-style-of-assignments.patch