Re: [PATCH] mm/hugetlb: Add mmap() encodings for 32MB and 512MB page sizes

From: Mike Kravetz
Date: Mon Sep 24 2018 - 12:48:20 EST


On 9/24/18 7:06 AM, Anshuman Khandual wrote:
> ARM64 architecture also supports 32MB and 512MB HugeTLB page sizes.
> This just adds mmap() system call argument encoding for them.
>
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
> ---
> include/uapi/asm-generic/hugetlb_encode.h | 2 ++
> include/uapi/linux/mman.h | 2 ++
> 2 files changed, 4 insertions(+)

Thanks Anshuman,

However, I think we should also add similar definitions in:
uapi/linux/memfd.h
uapi/linux/shm.h

--
Mike Kravetz