On Sat, Apr 9, 2011 at 9:31 PM, Caspar Zhang <[email protected]> wrote:
> 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]...
I wouldn't worry too much about it. If it fails with ENOSYS, I
would just fail with tst_brkm(TCONF, ...).
Thanks,
-Garrett
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list