Thread (3 messages) flat view 3 messages, 2 authors, 2021-06-02

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

From: David Hildenbrand <hidden>
Date: 2021-06-01 15:00:31
Also in: linux-mm

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help