Home
last modified time | relevance | path

Searched refs:hugetlb (Results 1 – 25 of 34) sorted by relevance

12

/linux/Documentation/admin-guide/cgroup-v1/
H A Dhugetlb.rst7 # mount -t cgroup -o hugetlb none /sys/fs/cgroup
24hugetlb.<hugepagesize>.rsvd.limit_in_bytes # set/show limit of "hugepagesize" hugetlb r…
25hugetlb.<hugepagesize>.rsvd.max_usage_in_bytes # show max "hugepagesize" hugetlb reservatio…
26hugetlb.<hugepagesize>.rsvd.usage_in_bytes # show current reservations and no-reserve f…
27hugetlb.<hugepagesize>.rsvd.failcnt # show the number of allocation failure due …
28hugetlb.<hugepagesize>.limit_in_bytes # set/show limit of "hugepagesize" hugetlb f…
29hugetlb.<hugepagesize>.max_usage_in_bytes # show max "hugepagesize" hugetlb usage rec…
30hugetlb.<hugepagesize>.usage_in_bytes # show current usage for "hugepagesize" huge…
31hugetlb.<hugepagesize>.failcnt # show the number of allocation failure due …
32hugetlb.<hugepagesize>.numa_stat # show the numa information of the hugetlb m…
[all …]
H A Dindex.rst17 hugetlb
/linux/tools/testing/selftests/mm/
H A Duffd-wp-mremap.c63 static void *alloc_one_folio(size_t size, bool private, bool hugetlb) in alloc_one_folio() argument
65 bool thp = !hugetlb && size > pagesize; in alloc_one_folio()
93 if (hugetlb) { in alloc_one_folio()
156 bool swapout, bool hugetlb) in test_one_folio() argument
163 assert(!(hugetlb && swapout)); in test_one_folio()
170 hugetlb ? "true" : "false"); in test_one_folio()
173 mem = alloc_one_folio(size, private, hugetlb); in test_one_folio()
237 hugetlb ? "true" : "false"); in test_one_folio()
252 bool hugetlb; member
262 .hugetlb = false,
[all …]
H A Dcharge_reserved_hugetlb.sh41 mount -t cgroup memory,hugetlb $cgroup_path
101 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file
105 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file
178 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file
179 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file
310 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file)
311 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_…
367 local cgroup1_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$fault_usage_file
368 …local cgroup1_reservation_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$reservation_usa…
369 local cgroup2_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$fault_usage_file
[all …]
H A D.gitignore7 hugetlb-madvise
8 hugetlb-read-hwpoison
9 hugetlb-soft-offline
H A Drun_vmtests.sh78 - hugetlb
298 CATEGORY="hugetlb" run_test ./hugetlb-madvise
345 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} hugetlb "$half_ufd_size_MB" 32
346 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} hugetlb-private "$half_ufd_size_MB" 32
401 CATEGORY="hugetlb" run_test ./hugetlb-soft-offline
404 CATEGORY="hugetlb" run_test ./hugetlb-read-hwpoison
H A DMakefile63 TEST_GEN_FILES += hugetlb-madvise
64 TEST_GEN_FILES += hugetlb-read-hwpoison
65 TEST_GEN_FILES += hugetlb-soft-offline
H A Dksft_hugetlb.sh4 ./run_vmtests.sh -t hugetlb
H A Dva_high_addr_switch.sh116 ./va_high_addr_switch --run-hugetlb
H A Dhugetlb_reparenting_test.sh35 mount -t cgroup memory,hugetlb $CGROUP_ROOT
H A Duffd-common.c33 static int uffd_mem_fd_create(off_t mem_size, bool hugetlb) in uffd_mem_fd_create() argument
38 if (hugetlb) in uffd_mem_fd_create()
/linux/Documentation/translations/zh_CN/mm/
H A Dhugetlbfs_reserv.rst284 助函数,该函数调用这些低级函数中的一个。这些低级函数在源代码(mm/hugetlb.c)中得到了相当好的
416 * 当cpuset被配置时,它打破了严格的hugetlb页面预留,因为计数是在一个全局变量上完
421 * hugetlb映射的语义变化是不可取的。然而,为了预留一些语义,我们退回到检查当前空闲
432 最完整的hugetlb测试集在libhugetlbfs仓库。如果你修改了任何hugetlb相关的代码,请使用
433 libhugetlbfs测试套件来检查回归情况。此外,如果你添加了任何新的hugetlb功能,请在
H A Dpage_migration.rst209 页是一个非THP和非hugetlb页,那么这个计数器会增加1。如果该页面是一个THP或hugetlb
210 页面,那么这个计数器会随着THP或hugetlb子页面的数量而增加。例如,迁移一个有4KB大小
214 果是THP或hugetlb,这个计数将被子页的数量增加。
/linux/mm/
H A Dhugetlb_cgroup.c240 static inline void hugetlb_event(struct hugetlb_cgroup *hugetlb, int idx, in hugetlb_event() argument
243 atomic_long_inc(&hugetlb->events_local[idx][event]); in hugetlb_event()
244 cgroup_file_notify(&hugetlb->events_local_file[idx]); in hugetlb_event()
247 atomic_long_inc(&hugetlb->events[idx][event]); in hugetlb_event()
248 cgroup_file_notify(&hugetlb->events_file[idx]); in hugetlb_event()
249 } while ((hugetlb = parent_hugetlb_cgroup(hugetlb)) && in hugetlb_event()
250 !hugetlb_cgroup_is_root(hugetlb)); in hugetlb_event()
H A Dmemory-failure.c1358 bool hugetlb = false; in __get_hwpoison_page() local
1360 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, false); in __get_hwpoison_page()
1361 if (hugetlb) { in __get_hwpoison_page()
1457 bool hugetlb = false; in __get_unpoison_page() local
1459 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, true); in __get_unpoison_page()
1460 if (hugetlb) { in __get_unpoison_page()
2035 static int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb) in try_memory_failure_hugetlb() argument
2043 *hugetlb = 1; in try_memory_failure_hugetlb()
2048 *hugetlb = 0; in try_memory_failure_hugetlb()
2110 static inline int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb) in try_memory_failure_hugetlb() argument
[all …]
H A Ddebug.c53 DEF_PAGETYPE_NAME(hugetlb),
H A DMakefile81 obj-$(CONFIG_HUGETLBFS) += hugetlb.o hugetlb_sysfs.o hugetlb_sysctl.o
/linux/Documentation/admin-guide/mm/
H A Dhugetlbpage.rst28 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
217 indicates that the hugetlb subsystem is allowed to try to obtain that
389 The hugetlb may be migrated between the per-node hugepages pool in the following
393 a new hugetlb on a different node if the current node is unable to allocate during
394 hugetlb migration, that means these 3 cases can break the per-node hugepages pool.
449 While read system calls are supported on files that reside on hugetlb
460 Users who wish to use hugetlb memory via shared memory segment should be
[all …]
/linux/include/linux/
H A Dcgroup_subsys.h53 SUBSYS(hugetlb)
H A Dpage-flags.h1054 FOLIO_TYPE_OPS(hugetlb, hugetlb) in PAGE_TYPE_OPS()
1056 FOLIO_TEST_FLAG_FALSE(hugetlb) in PAGE_TYPE_OPS()
H A Dhugetlb.h155 int get_hwpoison_hugetlb_folio(struct folio *folio, bool *hugetlb, bool unpoison);
420 static inline int get_hwpoison_hugetlb_folio(struct folio *folio, bool *hugetlb, bool unpoison) in get_hwpoison_hugetlb_folio() argument
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-hugepages3 Contact: Nishanth Aravamudan <nacc@us.ibm.com>, hugetlb maintainers
/linux/Documentation/mm/
H A Dpage_migration.rst183 page was migrated. If the page was a non-THP and non-hugetlb page, then
184 this counter is increased by one. If the page was a THP or hugetlb, then
185 this counter is increased by the number of THP or hugetlb subpages.
191 if it was a THP or hugetlb.
H A Dhugetlbfs_reserv.rst235 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/Documentation/core-api/
H A Dmm-api.rst119 .. kernel-doc:: mm/hugetlb.c

12