On 04/10/2011 05:19 PM, Garrett Cooper wrote:
> I wouldn't worry too much about it. If it fails with ENOSYS, I
> would just fail with tst_brkm(TCONF, ...).
Would something like this be good:
err = mbind(addr+pagesize, pagesize, MPOL_BIND, nmask->maskp,
nmask->size, MPOL_MF_MOVE_ALL);
if (err != 0)
if (errno == ENOSYS)
tst_brkm(TCONF,...)
else
tst_brkm(TBROK|TERRNO, NULL, "mbind1");
If yes, I'll work out an updated patch soon.
Thanks,
Caspar
------------------------------------------------------------------------------
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