The patch titled Subject: slab: Clean up the code comment in slab kmem_cache struct has been added to the -mm tree. Its filename is slab-clean-up-the-code-comment-in-slab-kmem_cache-struct.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/slab-clean-up-the-code-comment-in-slab-kmem_cache-struct.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/slab-clean-up-the-code-comment-in-slab-kmem_cache-struct.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: Baoquan He <bhe@xxxxxxxxxx> Subject: slab: Clean up the code comment in slab kmem_cache struct In 3b0efdfa1e7("mm, sl[aou]b: Extract common fields from struct kmem_cache") the variable 'obj_size' was moved above, however the related code comment is not updated accordingly. Do it here. Link: http://lkml.kernel.org/r/20180603032402.27526-1-bhe@xxxxxxxxxx Signed-off-by: Baoquan He <bhe@xxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: 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/slab_def.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff -puN include/linux/slab_def.h~slab-clean-up-the-code-comment-in-slab-kmem_cache-struct include/linux/slab_def.h --- a/include/linux/slab_def.h~slab-clean-up-the-code-comment-in-slab-kmem_cache-struct +++ a/include/linux/slab_def.h @@ -67,9 +67,10 @@ struct kmem_cache { /* * If debugging is enabled, then the allocator can add additional - * fields and/or padding to every object. size contains the total - * object size including these internal fields, the following two - * variables contain the offset to the user object and its size. + * fields and/or padding to every object. 'size' contains the total + * object size including these internal fields, while 'obj_offset' + * and 'object_size' contain the offset to the user object and its + * size. */ int obj_offset; #endif /* CONFIG_DEBUG_SLAB */ _ Patches currently in -mm which might be from bhe@xxxxxxxxxx are slab-clean-up-the-code-comment-in-slab-kmem_cache-struct.patch mm-sparse-add-a-static-variable-nr_present_sections.patch mm-sparsemem-defer-the-ms-section_mem_map-clearing.patch mm-sparse-add-a-new-parameter-data_unit_size-for-alloc_usemap_and_memmap.patch kexec_file-load-kernel-at-top-of-system-ram-if-required.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html