]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf7c5c38f54fe659b1f4bf2861a128a96a3086de
tree3adbe5b892d87b542f4f89e4ae8f14cb42927dbe
parente14aaadd5a5ea2689d2118999850be27f531cf8e
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