]> 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)
commit3999f457076c7a4e50d0dfbcb529c8eb9e6808c4
tree9b833a44d786b29faa3398ad7faf487e85d5a974
parent3dad5df9f25005247901904f11277147b70c232e
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