mm: slub: Delete useless parameter of alloc_slab_page()
authorXiongwei Song <sxwjean@gmail.com>
Thu, 10 Mar 2022 14:07:01 +0000 (22:07 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 10 Mar 2022 17:14:25 +0000 (18:14 +0100)
commita485e1dacdb09802ad0ba1126bc4d029773ae1b2
tree0cabf190f356618b9b7bd5e63afde0d600bbab47
parent382627824afb09cd86192f4b649fca8c5bfe5f40
mm: slub: Delete useless parameter of alloc_slab_page()

The parameter @s is useless for alloc_slab_page(). It was added in 2014
by commit 5dfb41750992 ("sl[au]b: charge slabs to kmemcg explicitly"). The
need for it was removed in 2020 by commit 1f3147b49d75 ("mm: slub: call
account_slab_page() after slab page initialization"). Let's delete it.

[willy@infradead.org: Added detailed history of @s]

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20220310140701.87908-3-sxwjean@me.com
mm/slub.c