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

2017-04-05 Thread Michael Ellerman
Balbir Singh writes: > On Wed, 2017-04-05 at 10:49 +0530, Anshuman Khandual wrote: >> diff --git a/arch/powerpc/include/uapi/asm/mman.h >> b/arch/powerpc/include/uapi/asm/mman.h >> index 03c06ba..3eb788c 100644 >> --- a/arch/powerpc/include/uapi/asm/mman.h >> +++ b/arch/powerpc/include/uapi/asm/m

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

2017-04-04 Thread Balbir Singh
On Wed, 2017-04-05 at 10:49 +0530, Anshuman Khandual wrote: > 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

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

2017-04-04 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 if the desired HugeTLB page si