[LTP] [RFC PATCH v1 1/1] overcommit_memory: Disable optimization for malloc to prevent false positives

Cyril Hrubis chrubis@suse.cz
Wed May 21 21:47:38 CEST 2025


Hi!
We already have a macro for this usecase introduced in the commit:

commit 5bb0c6bc553a3393627b371275b2e34b0099de19
Author: Jan Stancek <jstancek@redhat.com>
Date:   Thu Feb 6 10:42:31 2025 +0100

    syscalls/mallinfo02: introduce LTP_VAR_USED to avoid optimization


Can you please use the LTP_VAR_USED() instead?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list