Re: [LTP] [PATCH v2 1/2] [mm] mbind01: not working on 32bit systems

Caspar Zhang
2011-04-10T04:31:16Z

On 04/09/2011 01:38 PM, Garrett Cooper wrote:
>> > when executing mem/mbind01 testcase under 32bit systems, it returns
>> > ENOSYS error, indicating that the test is not suitable for running on
>> > 32bit systems. This patch checks wordsize before executing the actual
>> > case.
> This error doesn't make sense; it's not documented in the manpage [1].
> Are you sure your system actually supports mbind(2)?

Hmmm... Seems CONFIG_NUMA is not set in RHEL6 on x86 systems, so that
all mempolicy related syscalls not work on this platform. I shouldn't
simply check the WORDSIZE but need to check the kernel configuration
option, yet it's kind of difficult from previous discussion[1]...

Thanks,
Caspar

[1] http://thread.gmane.org/gmane.linux.ltp/12234/focus=12255