The patch titled Subject: fixup! mm, slab: move memcg charging to post-alloc hook has been added to the -mm mm-unstable branch. Its filename is mm-slab-move-memcg-charging-to-post-alloc-hook-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-slab-move-memcg-charging-to-post-alloc-hook-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm 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 via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Vlastimil Babka <vbabka@xxxxxxx> Subject: fixup! mm, slab: move memcg charging to post-alloc hook Date: Wed, 3 Apr 2024 17:45:15 +0200 The call to memcg_alloc_abort_single() is wrong, it expects a pointer to single object, not an array. Link: https://lkml.kernel.org/r/4af50be2-4109-45e5-8a36-2136252a635e@xxxxxxx Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Reported-by: Aishwarya TCV <aishwarya.tcv@xxxxxxx> Tested-by: Aishwarya TCV <aishwarya.tcv@xxxxxxx> Reviewed-by: Roman Gushchin <roman.gushchin@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/slub.c~mm-slab-move-memcg-charging-to-post-alloc-hook-fix +++ a/mm/slub.c @@ -2172,7 +2172,7 @@ bool memcg_slab_post_alloc_hook(struct k return true; if (likely(size == 1)) { - memcg_alloc_abort_single(s, p); + memcg_alloc_abort_single(s, *p); *p = NULL; } else { kmem_cache_free_bulk(s, size, p); _ Patches currently in -mm which might be from vbabka@xxxxxxx are mm-page_alloc-change-move_freepages-to-__move_freepages_block.patch mm-slab-move-memcg-charging-to-post-alloc-hook.patch mm-slab-move-memcg-charging-to-post-alloc-hook-fix.patch mm-slab-move-slab_memcg-hooks-to-mm-memcontrolc.patch