[QUESTION] arm64: mmap to the hugetlbfs with hugepagesize=512M got SIGILL

David Hildenbrand david at redhat.com
Tue Jun 1 08:00:24 PDT 2021


On 01.06.21 11:34, Yongqiang Liu wrote:
> Hi Catalin and Will,
> 
> when we mmap the addr NULL with MAP_FIXED flag to the hugetlbfs, system
> will return NULL successfully.
> 
> My question is: Why mmap to file with the hugepagesize=512M  we got
> SIGILL but mmap to the file with hugepagesize=2M we got a success ? Here
> is my test steps:
> 
>       1. echo 10 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> 
>           echo 10 > /sys/kernel/mm/hugepages/hugepages-524288kB/nr_hugepages

Which values do you get when you read back these knobs?


-- 
Thanks,

David / dhildenb




More information about the linux-arm-kernel mailing list