mm/slub: Convert __free_slab() to use struct slab
authorVlastimil Babka <vbabka@suse.cz>
Fri, 29 Oct 2021 10:18:24 +0000 (12:18 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 6 Jan 2022 11:26:01 +0000 (12:26 +0100)
commit4020b4a22604f832bacd8e3d8577ee8b15b829e2
tree6ba08b366bd60e9fa3196111a52e51bd71047642
parent45387b8c14143623dfe905b5260836f9d62e1371
mm/slub: Convert __free_slab() to use struct slab

__free_slab() is on the boundary of distinguishing struct slab and
struct page so start with struct slab but convert to folio for working
with flags and folio_page() to call functions that require struct page.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
mm/slub.c