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