From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: yangzi <wyang@windriver.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] [PATCH] Probe an bigger linear available address to attachment.
Date: Mon, 06 Sep 2010 21:46:56 +0530 [thread overview]
Message-ID: <1283789818.4947.23.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <4C7CD550.60508@windriver.com>
On Tue, 2010-08-31 at 18:11 +0800, yangzi wrote:
> Hi
> Update the old patch,and the new patch is in the attachment,and please
> review this one.
Garret, i believe he is asking to consider this one and disregard the
earlier one.
Regards--
Subrata
>
> yangzi wrote:
> > Hi
> >
> > When running shmat01 on some platforms, it fails on
> > "addr = shmat(*(tc.shmid), base_addr + tc.offset,tc.flags);"
> > with a INVAL error. Look at codes in "setup()", it probes
> > an available address and align the address to SHMLBA. After
> > alignment, the new address is no guarantee to be available
> > any more. Here a bigger size is used to probe so that it's
> > still valid address after alignment.Pertaining to the function
> > setup_tc(lc, &tc) ,when it outside of "for (i = 0; i < TST_TOTAL;
> > i++)",and printf the tc.offset value is always 0,and correct a mistake
> > of original codes to move "setup_tc()" to right place.
> >
> > Signed-off-by: Yang Wei <wei.yang@windriver.com>
> >
> > wei yang
> > BR
> >
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2010-09-06 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 9:49 [LTP] [PATCH] [PATCH] Probe an bigger linear available address to attachment yangzi
2010-08-31 10:11 ` yangzi
2010-09-06 16:16 ` Subrata Modak [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=1283789818.4947.23.camel@subratamodak.linux.ibm.com \
--to=subrata@linux.vnet.ibm.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=wyang@windriver.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