From 74fa5a55af42c187d2074cedb70517edf5a77970 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 31 Dec 2020 22:04:00 +0000 Subject: [PATCH] mm-memcg-slab-pre-allocate-obj_cgroups-for-slab-caches-with-slab_account-fix fix it for mm-slub-call-account_slab_page-after-slab-page-initialization-fix.patch Cc: Christoph Lameter Cc: Johannes Weiner Cc: Michal Hocko Cc: Roman Gushchin Cc: Shakeel Butt Signed-off-by: Andrew Morton --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index f695b07fee48..d4a33ec0ce5b 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1771,7 +1771,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) page->objects = oo_objects(oo); - account_slab_page(page, oo_order(oo), s); + account_slab_page(page, oo_order(oo), s, flags); page->slab_cache = s; __SetPageSlab(page); -- 2.50.1