]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
lib/test_vmalloc.c: add parameter use_huge for fix_size_alloc_test
authorQinglin Pan <panqinglin2020@iscas.ac.cn>
Mon, 12 Dec 2022 05:56:57 +0000 (13:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:41 +0000 (17:12 -0800)
commit6b1ead5985bf73b7dd4453f5cd3b8690a9c52cd5
treea918d2b5252316df02189f51dd92aa1b16ec3914
parente976936cfc66376fc740a3a476365273384ce1ce
lib/test_vmalloc.c: add parameter use_huge for fix_size_alloc_test

Add a parameter `use_huge' for fix_size_alloc_test(), which can be used to
test allocation vie vmalloc_huge for both functionality and performance.

Link: https://lkml.kernel.org/r/20221212055657.698420-1-panqinglin2020@iscas.ac.cn
Signed-off-by: Qinglin Pan <panqinglin2020@iscas.ac.cn>
Cc: "Uladzislau Rezki (Sony)" <urezki@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/test_vmalloc.c