lib-test_vmallocc-allow-built-in-execution.patch removed from -mm tree
The quilt patch titled
Subject: lib/test_vmalloc.c: allow built-in execution
has been removed from the -mm tree. Its filename was
lib-test_vmallocc-allow-built-in-execution.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Uladzislau Rezki (Sony)" <[email protected]>
Subject: lib/test_vmalloc.c: allow built-in execution
Date: Thu, 17 Apr 2025 18:12:14 +0200
Remove the dependency on module loading ("m") for the vmalloc test suite, enabling it to be built directly into the kernel, so both ("=m") and ("=y") are supported.
Motivation:
- Faster debugging/testing of vmalloc code;
- It allows to configure the test via kernel-boot parameters.
Configuration example:
test_vmalloc.nr_threads=64
test_vmalloc.run_test_mask=7
test_vmalloc.sequential_test_order=1
---
lib/Kconfig.debug | 3 +-- lib/test_vmalloc.c | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug~lib-test_vmallocc-allow-built-in-execution +1 -2
@@ -2574,8 +2574,7 @@ config TEST_BITOPS config TEST_VMALLOC tristate "Test module for stress/performance analysis of vmalloc allocator" default n - depends on MMU - depends on m + depends on MMU help This builds the "test_vmalloc" module that should be used for stress and performance analysis. So, any new change for vmalloc
lib/test_vmalloc.c renamed from lib/test_vmalloc.c~lib-test_vmallocc-allow-built-in-execution +3 -2
@@ -591,10 +591,11 @@ static void do_concurrent_test(void)kvfree (tdriver); } -static int vmalloc_test_init (void ) +static int __init vmalloc_test_init (void ) {do_concurrent_test (); -return -EAGAIN ;/* Fail will directly unload the module */ +/* Fail will directly unload the module */ +return IS_BUILTIN (CONFIG_TEST_VMALLOC ) ?0 :-EAGAIN ; }module_init (vmalloc_test_init)
_
Patches currently in -mm which might be from [email protected] are
maintainers-add-myself-as-vmalloc-co-maintainer.patch