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)
commitd6a71648dbc0ca5520cba16a8fdce8d37ae74218
treeb15d1f620d72682e4c169024d798307f5792a62d
parentc4cab557521a73bd803e5c6f613b4e00bd3c4662
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