Re: [PATCH V4] powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes

2017-04-08 Thread Michael Ellerman
Paul Clarke writes: > nits... take 'em or leave 'em... > > On 04/07/2017 08:01 AM, Michael Ellerman wrote: >> Anshuman Khandual writes: >> And I reworded the comment the make it clearer (I think) that most users >> shouldn't need to use these, and

Re: [PATCH V4] powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes

2017-04-07 Thread Paul Clarke
nits... take 'em or leave 'em... On 04/07/2017 08:01 AM, Michael Ellerman wrote: Anshuman Khandual writes: And I reworded the comment the make it clearer (I think) that most users shouldn't need to use these, and should just use the default size: /* * When

Re: [PATCH V4] powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes

2017-04-07 Thread Anshuman Khandual
On 04/07/2017 06:31 PM, Michael Ellerman wrote: > Anshuman Khandual writes: > >> This just adds user space exported ABI definitions for 2MB, 16MB, 1GB, >> 16GB non default huge page sizes to be used with mmap() system call. > > I updated this for you to include all

Re: [PATCH V4] powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes

2017-04-07 Thread Michael Ellerman
Anshuman Khandual writes: > This just adds user space exported ABI definitions for 2MB, 16MB, 1GB, > 16GB non default huge page sizes to be used with mmap() system call. I updated this for you to include all the sizes. > diff --git

[PATCH V4] powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes

2017-04-06 Thread Anshuman Khandual
This just adds user space exported ABI definitions for 2MB, 16MB, 1GB, 16GB non default huge page sizes to be used with mmap() system call. Signed-off-by: Anshuman Khandual --- These defined values will be used along with MAP_HUGETLB while calling mmap() system call