aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 5d1b653183ab..9e288d7c5e6a 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1422,7 +1422,6 @@ static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node)
1422 1422
1423 order = compound_order(page); 1423 order = compound_order(page);
1424 inc_slabs_node(s, page_to_nid(page), page->objects); 1424 inc_slabs_node(s, page_to_nid(page), page->objects);
1425 memcg_bind_pages(s, order);
1426 page->slab_cache = s; 1425 page->slab_cache = s;
1427 __SetPageSlab(page); 1426 __SetPageSlab(page);
1428 if (page->pfmemalloc) 1427 if (page->pfmemalloc)
@@ -1473,7 +1472,6 @@ static void __free_slab(struct kmem_cache *s, struct page *page)
1473 __ClearPageSlabPfmemalloc(page); 1472 __ClearPageSlabPfmemalloc(page);
1474 __ClearPageSlab(page); 1473 __ClearPageSlab(page);
1475 1474
1476 memcg_release_pages(s, order);
1477 page_mapcount_reset(page); 1475 page_mapcount_reset(page);
1478 if (current->reclaim_state) 1476 if (current->reclaim_state)
1479 current->reclaim_state->reclaimed_slab += pages; 1477 current->reclaim_state->reclaimed_slab += pages;