mm/slab: Convert kmem_getpages() and kmem_freepages() to struct slab
authorVlastimil Babka <vbabka@suse.cz>
Fri, 29 Oct 2021 15:54:55 +0000 (17:54 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 6 Jan 2022 11:26:02 +0000 (12:26 +0100)
commit42c0faac3192352867f6e6ba815b28ed58bf7388
tree3adbe5b892d87b542f4f89e4ae8f14cb42927dbe
parentc2092c12064a9728b2928979f88575cc1c2247fa
mm/slab: Convert kmem_getpages() and kmem_freepages() to struct slab

These functions sit at the boundary to page allocator. Also use folio
internally to avoid extra compound_head() when dealing with page flags.

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/slab.c