You can check that you compiled the kernel correctly by running:
The stock kernel without hugepages gives:
Code:
$ ls -l /sys/kernel/mm/hugepages/total 0drwxr-xr-x 2 root root 0 Jul 22 07:15 hugepages-1048576kBdrwxr-xr-x 2 root root 0 Jul 22 07:15 hugepages-2048kBdrwxr-xr-x 2 root root 0 Jul 22 07:15 hugepages-32768kBdrwxr-xr-x 2 root root 0 Jul 22 07:15 hugepages-64kBCode:
$ ls -l /sys/kernel/mm/hugepages/ls: cannot access '/sys/kernel/mm/hugepages/': No such file or directoryStatistics: Posted by fik — Tue Jul 22, 2025 5:18 am