From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 2DDF775C8C for ; Tue, 30 Jun 2015 09:10:00 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.15.1/8.15.1) with ESMTPS id t5U9A1jV001811 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 30 Jun 2015 02:10:01 -0700 (PDT) Received: from [128.224.162.176] (128.224.162.176) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.224.2; Tue, 30 Jun 2015 02:10:00 -0700 Message-ID: <55925CE6.2080702@windriver.com> Date: Tue, 30 Jun 2015 17:09:58 +0800 From: wenzong fan User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Robert Yang , cdong , References: <556EB568.30901@windriver.com> <558CF39F.80401@windriver.com> In-Reply-To: <558CF39F.80401@windriver.com> Subject: Re: ltp: vma03 fix the alginment of page size X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 09:10:00 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Hi guys, I have updated the patch format and sent V2 for reviewing... Thanks Wenzong On 06/26/2015 02:39 PM, Robert Yang wrote: > > 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 >> >>