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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 2021/6/1 23:00, David Hildenbrand 写道:
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?

10. I forgot that the selinux should be disabled or mmap return failed with error code 13.


Thanks,

Yongqiang Liu







[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux