Re: [PATCH] set_mempolicy05: require CONFIG_NUMA

Avinesh Kumar via ltp <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.