All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: cdong <chuang.dong@windriver.com>,
	<Openembedded-core@lists.openembedded.org>
Subject: Re: ltp: vma03 fix the alginment of page size
Date: Fri, 26 Jun 2015 14:39:27 +0800	[thread overview]
Message-ID: <558CF39F.80401@windriver.com> (raw)
In-Reply-To: <556EB568.30901@windriver.com>


Hi Dong,

Please don't send the patch as attachment, you can use git send-email
to send the patch. And please add the "Upstream-Status: Submitted"
inside the patch 0001-ltp-vma03-fix-the-alginment-of-page-size.patch,
right before the Signed-off-by line.

// Robert

On 06/03/2015 04:06 PM, cdong wrote:
> Hi,
>      This patch fix a vma03 bug,the info below detail it:
>
>      the offset which is parameter of mmap2() function doesn't align the
>      page size,but,this parameter is allowed multiple of the page size
>      as returned by sysconf(_SC_PAGE_SIZE),meanwhile offset * 4096 must be
>      a multiple of the system page size,so modify the input parameter
>      pgoff = (ULONG_MAX - 1)&(~((pgsz-1)>>12));
>
>      Regards
>      Chuang
>
>


  reply	other threads:[~2015-06-26  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03  8:06 ltp: vma03 fix the alginment of page size cdong
2015-06-26  6:39 ` Robert Yang [this message]
2015-06-30  9:09   ` wenzong fan

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=558CF39F.80401@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=Openembedded-core@lists.openembedded.org \
    --cc=chuang.dong@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 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.