If applications need huge pages from user space, you need to compile the kernel with 'HugeTLB file system support' enabled in menuconfig at:
File systems > Pseudo filesystems > HugeTLB file system support
I just compiled a kernel using build-kernel with 'HugeTLB file system support' enabled (via menuconfig) and huge pages appear to be enabled:
File systems > Pseudo filesystems > HugeTLB file system support
I just compiled a kernel using build-kernel with 'HugeTLB file system support' enabled (via menuconfig) and huge pages appear to be enabled:
Code:
root@raspberrypi:~# grep -i hugepages /proc/meminfoHugePages_Total: 0HugePages_Free: 0HugePages_Rsvd: 0HugePages_Surp: 0Hugepagesize: 32768 kBStatistics: Posted by RonR — Mon Jul 21, 2025 12:52 am