]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/hugetlb: add mmap() encodings for 32MB and 512MB page sizes
authorAnshuman Khandual <anshuman.khandual@arm.com>
Fri, 5 Oct 2018 22:51:54 +0000 (15:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Oct 2018 23:32:04 +0000 (16:32 -0700)
commit20916d4636a9b3c1bf562b305f91d126771edaf9
tree62f074f581ff5129f89e38371dbffe121d200f7e
parente6112fc300702f96374f34368513d57795fc6d23
mm/hugetlb: add mmap() encodings for 32MB and 512MB page sizes

ARM64 architecture also supports 32MB and 512MB HugeTLB page sizes.  This
just adds mmap() system call argument encoding for them.

Link: http://lkml.kernel.org/r/1537841300-6979-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/asm-generic/hugetlb_encode.h
include/uapi/linux/memfd.h
include/uapi/linux/mman.h
include/uapi/linux/shm.h