From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Jan Stancek <jstancek@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v4] ipc/shmat: pick suitable base_addr before each testcase
Date: Tue, 30 Oct 2012 19:03:41 +0800 [thread overview]
Message-ID: <508FB40D.5050600@cn.fujitsu.com> (raw)
In-Reply-To: <7714323b7c85bc53de14c05d1f5b47085a9a7ae2.1351593924.git.jstancek@redhat.com>
On 10/30/2012 06:52 PM, Jan Stancek wrote:
> This test picked fixed address in setup() which was used throughout
> the test. There has been reports that it can fail with EINVAL.
>
> I could reproduce it by adding single printf in between
> detach/attach:
> http://article.gmane.org/gmane.linux.ltp/16480
>
> This patch picks suitable base_addr before each test. So even if glibc
> would mmap extra page with addr == base_addr picked by setup(),
> new suitable address will be chosen.
>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
Pushed, thank you.
Wanlong Gao
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2012-10-30 11:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-30 10:52 [LTP] [PATCH v4] ipc/shmat: pick suitable base_addr before each testcase Jan Stancek
2012-10-30 11:03 ` Wanlong Gao [this message]
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=508FB40D.5050600@cn.fujitsu.com \
--to=gaowanlong@cn.fujitsu.com \
--cc=jstancek@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.