]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slab: kmalloc: pass requests larger than order-1 page to page allocator
authorHyeonggon Yoo <42.hyeyoo@gmail.com>
Wed, 17 Aug 2022 10:18:19 +0000 (19:18 +0900)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 24 Aug 2022 14:11:41 +0000 (16:11 +0200)
commit710bdf2b63c5763be00ce28c35b426e5c954a40a
treeb15d1f620d72682e4c169024d798307f5792a62d
parent65876a97abf3c097a25379daaab8848bbb30f27c
mm/slab: kmalloc: pass requests larger than order-1 page to page allocator

There is not much benefit for serving large objects in kmalloc().
Let's pass large requests to page allocator like SLUB for better
maintenance of common code.

Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/slab.h
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slub.c