[OE-core] ltp: vma03 fix the alginment of page size

wenzong fan wenzong.fan at windriver.com
Tue Jun 30 09:09:58 UTC 2015


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
>>
>>



More information about the Openembedded-core mailing list