/linux-6.3-rc2/Documentation/admin-guide/cgroup-v1/ |
A D | hugetlb.rst | 37 hugetlb.1GB.limit_in_bytes 39 hugetlb.1GB.numa_stat 40 hugetlb.1GB.usage_in_bytes 41 hugetlb.1GB.failcnt 45 hugetlb.1GB.rsvd.failcnt 48 hugetlb.64KB.numa_stat 50 hugetlb.64KB.failcnt 54 hugetlb.64KB.rsvd.failcnt 57 hugetlb.32MB.numa_stat 59 hugetlb.32MB.failcnt [all …]
|
A D | index.rst | 17 hugetlb
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | charge_reserved_hugetlb.sh | 39 mount -t cgroup memory,hugetlb $cgroup_path 99 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file 103 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file 118 echo Waiting for hugetlb memory to get depleted. 131 echo Waiting for hugetlb memory reservation to reach size $size. 144 echo Waiting for hugetlb memory to reach size $size. 167 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file 168 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file 299 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file) 356 local cgroup1_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$fault_usage_file [all …]
|
A D | hugetlb_reparenting_test.sh | 34 mount -t cgroup memory,hugetlb $CGROUP_ROOT 90 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB 91 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB 118 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB 119 echo expected b hugetlb = $((${expected_b_hugetlb%% *} / 1024 / 1024)) MB
|
A D | .gitignore | 7 hugetlb-madvise
|
A D | run_vmtests.sh | 176 CATEGORY="hugetlb" run_test ./hugetlb-madvise 198 CATEGORY="userfaultfd" run_test ./userfaultfd hugetlb${mod} "$half_ufd_size_MB" 32
|
A D | Makefile | 38 TEST_GEN_FILES += hugetlb-madvise
|
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/ |
A D | hugetlbfs_reserv.rst | 283 助函数,该函数调用这些低级函数中的一个。这些低级函数在源代码(mm/hugetlb.c)中得到了相当好的 415 * 当cpuset被配置时,它打破了严格的hugetlb页面预留,因为计数是在一个全局变量上完 420 * hugetlb映射的语义变化是不可取的。然而,为了预留一些语义,我们退回到检查当前空闲 431 最完整的hugetlb测试集在libhugetlbfs仓库。如果你修改了任何hugetlb相关的代码,请使用 432 libhugetlbfs测试套件来检查回归情况。此外,如果你添加了任何新的hugetlb功能,请在
|
A D | page_migration.rst | 209 页是一个非THP和非hugetlb页,那么这个计数器会增加1。如果该页面是一个THP或hugetlb 210 页面,那么这个计数器会随着THP或hugetlb子页面的数量而增加。例如,迁移一个有4KB大小 214 果是THP或hugetlb,这个计数将被子页的数量增加。
|
/linux-6.3-rc2/mm/ |
A D | hugetlb_cgroup.c | 242 static inline void hugetlb_event(struct hugetlb_cgroup *hugetlb, int idx, in hugetlb_event() argument 245 atomic_long_inc(&hugetlb->events_local[idx][event]); in hugetlb_event() 246 cgroup_file_notify(&hugetlb->events_local_file[idx]); in hugetlb_event() 249 atomic_long_inc(&hugetlb->events[idx][event]); in hugetlb_event() 250 cgroup_file_notify(&hugetlb->events_file[idx]); in hugetlb_event() 251 } while ((hugetlb = parent_hugetlb_cgroup(hugetlb)) && in hugetlb_event() 252 !hugetlb_cgroup_is_root(hugetlb)); in hugetlb_event()
|
A D | memory-failure.c | 1333 bool hugetlb = false; in __get_hwpoison_page() local 1335 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, false); in __get_hwpoison_page() 1336 if (hugetlb) in __get_hwpoison_page() 1423 bool hugetlb = false; in __get_unpoison_page() local 1425 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, true); in __get_unpoison_page() 1426 if (hugetlb) in __get_unpoison_page() 1938 *hugetlb = 1; in try_memory_failure_hugetlb() 1942 *hugetlb = 0; in try_memory_failure_hugetlb() 2086 int hugetlb = 0; in memory_failure() local 2116 res = try_memory_failure_hugetlb(pfn, flags, &hugetlb); in memory_failure() [all …]
|
A D | Makefile | 79 obj-$(CONFIG_HUGETLBFS) += hugetlb.o
|
A D | hugetlb.c | 7275 int get_hwpoison_hugetlb_folio(struct folio *folio, bool *hugetlb, bool unpoison) in get_hwpoison_hugetlb_folio() argument 7279 *hugetlb = false; in get_hwpoison_hugetlb_folio() 7282 *hugetlb = true; in get_hwpoison_hugetlb_folio()
|
/linux-6.3-rc2/include/linux/ |
A D | cgroup_subsys.h | 53 SUBSYS(hugetlb)
|
A D | hugetlb.h | 175 int get_hwpoison_hugetlb_folio(struct folio *folio, bool *hugetlb, bool unpoison); 421 static inline int get_hwpoison_hugetlb_folio(struct folio *folio, bool *hugetlb, bool unpoison) in get_hwpoison_hugetlb_folio() argument
|
A D | page-flags.h | 833 TESTPAGEFLAG_FALSE(Huge, hugetlb) in TESTPAGEFLAG_FALSE() argument
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-kernel-mm-hugepages | 3 Contact: Nishanth Aravamudan <nacc@us.ibm.com>, hugetlb maintainers
|
/linux-6.3-rc2/Documentation/admin-guide/mm/ |
A D | hugetlbpage.rst | 28 persistent hugetlb pages in the kernel's huge page pool. It also displays 62 with each hugetlb page is enabled, the number of surplus huge pages 86 hugetlb page is enabled, we can fail to free the huge pages triggered by 125 if hugepages is the first or only hugetlb command line parameter it 207 indicates that the hugetlb subsystem is allowed to try to obtain that 432 While read system calls are supported on files that reside on hugetlb 443 Users who wish to use hugetlb memory via shared memory segment should be 449 Syscalls that operate on memory backed by hugetlb pages only have their lengths 451 errno set to EINVAL or exclude hugetlb pages that extend beyond the length if 453 a hugetlb page and the length is smaller than the hugepage size.
|
/linux-6.3-rc2/Documentation/mm/ |
A D | page_migration.rst | 169 page was migrated. If the page was a non-THP and non-hugetlb page, then 170 this counter is increased by one. If the page was a THP or hugetlb, then 171 this counter is increased by the number of THP or hugetlb subpages. 177 if it was a THP or hugetlb.
|
A D | hugetlbfs_reserv.rst | 235 After obtaining a new hugetlb folio, (folio)->_hugetlb_subpool is set to the 375 code (mm/hugetlb.c). These routines are:: 563 * When cpuset is configured, it breaks the strict hugetlb page 573 * The change of semantics for shared hugetlb mapping with cpuset is 589 The most complete set of hugetlb tests are in the libhugetlbfs repository. 590 If you modify any hugetlb related code, use the libhugetlbfs test suite 591 to check for regressions. In addition, if you add any new hugetlb
|
/linux-6.3-rc2/Documentation/admin-guide/ |
A D | cgroup-v2.rst | 2386 hugetlb.<hugepagesize>.current 2387 Show current usage for "hugepagesize" hugetlb. It exists for all 2390 hugetlb.<hugepagesize>.max 2391 Set/show the hard limit of "hugepagesize" hugetlb usage. 2394 hugetlb.<hugepagesize>.events 2400 hugetlb.<hugepagesize>.events.local 2401 Similar to hugetlb.<hugepagesize>.events but the fields in the file 2405 hugetlb.<hugepagesize>.numa_stat 2407 hugetlb pages of <hugepagesize> in this cgroup. Only active in 2408 use hugetlb pages are included. The per-node values are in bytes.
|
A D | kernel-parameters.txt | 983 APIs. In addition, this is the default hugetlb size 1746 Allows heavy hugetlb users to free up some more 1747 memory (7 * PAGE_SIZE for each 2MB hugetlb page).
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | proc.rst | 278 HugetlbPages size of hugetlb memory portions 1808 - (bit 5) hugetlb private memory 1809 - (bit 6) hugetlb shared memory 1816 Note that bits 0-4 don't affect hugetlb or DAX memory. hugetlb memory is 1820 segments, ELF header pages and hugetlb private memory are dumped.
|
/linux-6.3-rc2/Documentation/admin-guide/sysctl/ |
A D | vm.rst | 308 shared memory segment using hugetlb page.
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 9459 F: include/linux/hugetlb.h 9460 F: mm/hugetlb.c
|