/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | hugetlb.rst | 7 # mount -t cgroup -o hugetlb none /sys/fs/cgroup 24 …hugetlb.<hugepagesize>.rsvd.limit_in_bytes # set/show limit of "hugepagesize" hugetlb r… 25 …hugetlb.<hugepagesize>.rsvd.max_usage_in_bytes # show max "hugepagesize" hugetlb reservatio… 26 …hugetlb.<hugepagesize>.rsvd.usage_in_bytes # show current reservations and no-reserve f… 27 …hugetlb.<hugepagesize>.rsvd.failcnt # show the number of allocation failure due … 28 …hugetlb.<hugepagesize>.limit_in_bytes # set/show limit of "hugepagesize" hugetlb f… 29 …hugetlb.<hugepagesize>.max_usage_in_bytes # show max "hugepagesize" hugetlb usage rec… 30 …hugetlb.<hugepagesize>.usage_in_bytes # show current usage for "hugepagesize" huge… 31 …hugetlb.<hugepagesize>.failcnt # show the number of allocation failure due … 32 …hugetlb.<hugepagesize>.numa_stat # show the numa information of the hugetlb m… [all …]
|
H A D | index.rst | 17 hugetlb
|
/openbmc/linux/tools/testing/selftests/mm/ |
H 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) 300 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_… [all …]
|
H 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
|
H A D | .gitignore | 7 hugetlb-madvise 8 hugetlb-read-hwpoison
|
H A D | va_high_addr_switch.sh | 64 ./va_high_addr_switch --run-hugetlb
|
H A D | run_vmtests.sh | 248 CATEGORY="hugetlb" run_test ./hugetlb-madvise 275 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} hugetlb "$half_ufd_size_MB" 32 276 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} hugetlb-private "$half_ufd_size_MB" 32
|
H A D | Makefile | 43 TEST_GEN_FILES += hugetlb-madvise 44 TEST_GEN_FILES += hugetlb-read-hwpoison
|
H A D | uffd-common.c | 22 static int uffd_mem_fd_create(off_t mem_size, bool hugetlb) in uffd_mem_fd_create() argument 27 if (hugetlb) in uffd_mem_fd_create()
|
/openbmc/openbmc/poky/meta/recipes-extended/ltp/ltp/ |
H A D | 0001-Add-__clear_cache-declaration-for-clang.patch | 18 testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c | 1 + 21 diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c b/testcases/kernel/mem/hugetlb/huge… 23 --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c 24 +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | hugetlbfs_reserv.rst | 284 助函数,该函数调用这些低级函数中的一个。这些低级函数在源代码(mm/hugetlb.c)中得到了相当好的 416 * 当cpuset被配置时,它打破了严格的hugetlb页面预留,因为计数是在一个全局变量上完 421 * hugetlb映射的语义变化是不可取的。然而,为了预留一些语义,我们退回到检查当前空闲 432 最完整的hugetlb测试集在libhugetlbfs仓库。如果你修改了任何hugetlb相关的代码,请使用 433 libhugetlbfs测试套件来检查回归情况。此外,如果你添加了任何新的hugetlb功能,请在
|
H A D | page_migration.rst | 209 页是一个非THP和非hugetlb页,那么这个计数器会增加1。如果该页面是一个THP或hugetlb 210 页面,那么这个计数器会随着THP或hugetlb子页面的数量而增加。例如,迁移一个有4KB大小 214 果是THP或hugetlb,这个计数将被子页的数量增加。
|
/openbmc/qemu/backends/ |
H A D | hostmem-memfd.c | 27 bool hugetlb; member 46 m->hugetlb, m->hugetlbsize, m->seal ? in memfd_backend_memory_alloc() 65 return MEMORY_BACKEND_MEMFD(o)->hugetlb; in memfd_backend_get_hugetlb() 71 MEMORY_BACKEND_MEMFD(o)->hugetlb = value; in memfd_backend_set_hugetlb()
|
/openbmc/linux/mm/ |
H 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()
|
H A D | memory-failure.c | 1397 bool hugetlb = false; in __get_hwpoison_page() local 1399 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, false); in __get_hwpoison_page() 1400 if (hugetlb) { in __get_hwpoison_page() 1494 bool hugetlb = false; in __get_unpoison_page() local 1496 ret = get_hwpoison_hugetlb_folio(folio, &hugetlb, true); in __get_unpoison_page() 1497 if (hugetlb) { in __get_unpoison_page() 2037 static int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb) in try_memory_failure_hugetlb() argument 2045 *hugetlb = 1; in try_memory_failure_hugetlb() 2049 *hugetlb = 0; in try_memory_failure_hugetlb() 2105 static inline int try_memory_failure_hugetlb(unsigned long pfn, int flags, int *hugetlb) in try_memory_failure_hugetlb() argument [all …]
|
/openbmc/qemu/util/ |
H A D | memfd.c | 50 int qemu_memfd_create(const char *name, size_t size, bool hugetlb, in qemu_memfd_create() argument 69 if (hugetlb) { in qemu_memfd_create()
|
/openbmc/qemu/include/qemu/ |
H A D | memfd.h | 39 int qemu_memfd_create(const char *name, size_t size, bool hugetlb,
|
/openbmc/linux/include/linux/ |
H A D | cgroup_subsys.h | 53 SUBSYS(hugetlb)
|
H A D | page-flags.h | 1005 FOLIO_TYPE_OPS(hugetlb, hugetlb) in PAGE_TYPE_OPS() 1007 FOLIO_TEST_FLAG_FALSE(hugetlb) in PAGE_TYPE_OPS()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-mm-hugepages | 3 Contact: Nishanth Aravamudan <nacc@us.ibm.com>, hugetlb maintainers
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H 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.
|
/openbmc/linux/Documentation/mm/ |
H A D | page_migration.rst | 168 page was migrated. If the page was a non-THP and non-hugetlb page, then 169 this counter is increased by one. If the page was a THP or hugetlb, then 170 this counter is increased by the number of THP or hugetlb subpages. 176 if it was a THP or hugetlb.
|
H 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
|
/openbmc/linux/Documentation/core-api/ |
H A D | mm-api.rst | 125 .. kernel-doc:: mm/hugetlb.c
|
/openbmc/linux/include/trace/events/ |
H A D | mmflags.h | 138 DEF_PAGETYPE_NAME(hugetlb), \
|