开启 CONFIG_HUGETLB_PAGE

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

你可能感兴趣的:(config)