开启 CONFIG_HUGETLB_PAGE

时间:2024-05-25 17:37:50

File systems  --->
  Pseudo filesystems  --->
      [*] HugeTLB file system support

相关Kconfig如下:

config HUGETLBFS
        bool "HugeTLB file system support"
        depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
                   SYS_SUPPORTS_HUGETLBFS || BROKEN
        help
          hugetlbfs is a filesystem backing for HugeTLB pages, based on
          ramfs. For architectures that support it, say Y here and read
          <file:Documentation/vm/hugetlbpage.txt> for details.

If unsure, say N.

config HUGETLB_PAGE
        def_bool HUGETLBFS