From: Caspar Zhang <czhang@redhat.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: LTP List <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH v2 1/2] [mm] mbind01: not working on 32bit systems
Date: Sun, 10 Apr 2011 17:27:26 +0800 [thread overview]
Message-ID: <4DA177FE.1000304@redhat.com> (raw)
In-Reply-To: <BANLkTim_9bJi==MyPHoeQtjo+wLL-XJ=8A@mail.gmail.com>
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2011-04-10 9:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-09 3:24 [LTP] [PATCH v2 1/2] [mm] mbind01: not working on 32bit systems Caspar Zhang
2011-04-09 3:24 ` [LTP] [PATCH v2 2/2] [mm] mbind01: move to syscalls directory Caspar Zhang
2011-04-09 6:18 ` Garrett Cooper
2011-04-10 5:19 ` Caspar Zhang
2011-04-09 5:38 ` [LTP] [PATCH v2 1/2] [mm] mbind01: not working on 32bit systems Garrett Cooper
2011-04-10 4:31 ` Caspar Zhang
2011-04-10 9:19 ` Garrett Cooper
2011-04-10 9:27 ` Caspar Zhang [this message]
2011-04-10 9:43 ` Garrett Cooper
2011-04-10 13:00 ` [LTP] [PATCH v3] [mm] mbind01: move to syscalls directory Caspar Zhang
2011-04-10 13:00 ` [LTP] [PATCH v3] [mm] mbind01: not working on some systems Caspar Zhang
2011-04-12 6:46 ` Garrett Cooper
2011-04-12 7:19 ` Caspar Zhang
2011-04-15 15:32 ` Caspar Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DA177FE.1000304@redhat.com \
--to=czhang@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox