[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] ltp: vma03 fix the alginment of page size
From:       wenzong.fan () windriver ! com (wenzong fan)
Date:       2015-06-30 9:09:58
Message-ID: 55925CE6.2080702 () windriver ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic