]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Convert [un]account_slab_page() to struct slab
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 4 Oct 2021 13:45:52 +0000 (14:45 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 6 Jan 2022 11:25:40 +0000 (12:25 +0100)
commit655bb4bac05e79757e191d9633a71ff653e6de5e
tree9b833a44d786b29faa3398ad7faf487e85d5a974
parent72c5556853bb308d51df72a19930e40df675830e
mm: Convert [un]account_slab_page() to struct slab

Convert the parameter of these functions to struct slab instead of
struct page and drop _page from the names. For now their callers just
convert page to slab.

[ vbabka@suse.cz: replace existing functions instead of calling them ]

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Roman Gushchin <guro@fb.com>
mm/slab.c
mm/slab.h
mm/slub.c