The patch titled Subject: mm, slub: make the comment of put_cpu_partial() complete has been added to the -mm tree. Its filename is mm-slub-make-the-comment-of-put_cpu_partial-complete.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-slub-make-the-comment-of-put_cpu_partial-complete.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-slub-make-the-comment-of-put_cpu_partial-complete.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wei Yang <richard.weiyang@xxxxxxxxx> Subject: mm, slub: make the comment of put_cpu_partial() complete There are two cases when put_cpu_partial() is invoked. * __slab_free * get_partial_node This patch just makes it cover these two cases and fix one typo in slub_def.h. Link: http://lkml.kernel.org/r/20181025094437.18951-3-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxx> Cc: Pekka Enberg <penberg@xxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/slub_def.h | 2 +- mm/slub.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/include/linux/slub_def.h~mm-slub-make-the-comment-of-put_cpu_partial-complete +++ a/include/linux/slub_def.h @@ -81,7 +81,7 @@ struct kmem_cache_order_objects { */ struct kmem_cache { struct kmem_cache_cpu __percpu *cpu_slab; - /* Used for retriving partial slabs etc */ + /* Used for retrieving partial slabs etc */ slab_flags_t flags; unsigned long min_partial; unsigned int size; /* The size of an object including meta data */ --- a/mm/slub.c~mm-slub-make-the-comment-of-put_cpu_partial-complete +++ a/mm/slub.c @@ -2235,8 +2235,8 @@ static void unfreeze_partials(struct kme } /* - * Put a page that was just frozen (in __slab_free) into a partial page - * slot if available. + * Put a page that was just frozen (in __slab_free|get_partial_node) into a + * partial page slot if available. * * If we did not find a slot then simply move all the partials to the * per node partial list. _ Patches currently in -mm which might be from richard.weiyang@xxxxxxxxx are mm-page_alloc-calculate-first_deferred_pfn-directly.patch mm-slub-make-the-comment-of-put_cpu_partial-complete.patch