[LTP] [PATCH] set_mempolicy05: require CONFIG_NUMA

Avinesh Kumar avinesh.kumar@suse.com
Wed Jun 24 17:41:38 CEST 2026


Hi Andrea,


On 6/24/26 10:14 AM, Andrea Cervesato via ltp wrote:
> Hi Avinesh,
> 
> the patch looks good to me, but it's probably not enough. we will
> need to implement the same concept for all set_mempolicy() tests,
> since it's NUMA specific. We just missed this for all this time
> apparently. Did you see the same errors for them as well?

Thanks for the review. Remaining set_mempolicy tests are checking for 
minimum two NUMA nodes and hence reports

tse_numa.c:200: TINFO: Found 1 NUMA memory nodes
tse_numa.c:141: TINFO: File '/sys/devices/system/node/node0/meminfo' 
does not exist! NUMA not enabled?
get_mempolicy02.c:60: TCONF: test requires at least one NUMA memory node

even on systems without CONFIG_NUMA=y.

But I also think that we should add
CONFIG_NUMA=y check in all these tests. Please confirm, I will send 
revised version.


Regards,
Avinesh


More information about the ltp mailing list