commit | 42c0faac3192352867f6e6ba815b28ed58bf7388 | [log] [tgz] |
---|---|---|
author | Vlastimil Babka <vbabka@suse.cz> | Fri Oct 29 17:54:55 2021 +0200 |
committer | Vlastimil Babka <vbabka@suse.cz> | Thu Jan 06 12:26:02 2022 +0100 |
tree | 3adbe5b892d87b542f4f89e4ae8f14cb42927dbe | |
parent | c2092c12064a9728b2928979f88575cc1c2247fa [diff] |
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>