[Devel] [PATCH vz10 1/3] selftests/ve_devcg_bpf: remove unused __STACK_SIZE macro

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue May 19 13:32:43 MSK 2026


Yes, it's definitely a leftover, thanks!

Reviewed-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>

On 5/18/26 18:17, Konstantin Khorenko wrote:
> __STACK_SIZE is defined but never referenced - clone3 is called without
> explicit stack arguments, relying on fork semantics instead.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-126504
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
> 
> Feature: ve: allow BPF in Containers
> ---
>  tools/testing/selftests/ve_devcg_bpf/ve_devcg_bpf_test.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/ve_devcg_bpf/ve_devcg_bpf_test.c b/tools/testing/selftests/ve_devcg_bpf/ve_devcg_bpf_test.c
> index a18393bb4f6df..b887ec73e18e2 100644
> --- a/tools/testing/selftests/ve_devcg_bpf/ve_devcg_bpf_test.c
> +++ b/tools/testing/selftests/ve_devcg_bpf/ve_devcg_bpf_test.c
> @@ -34,7 +34,6 @@
>  
>  #include "../kselftest_harness.h"
>  
> -#define __STACK_SIZE		(8 * 1024 * 1024)
>  #define CTID_MIN		108
>  #define CTID_MAX		200
>  

-- 
Best regards, Pavel Tikhomirov
Senior Software Developer, Virtuozzo.



More information about the Devel mailing list