Home
last modified time | relevance | path

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

/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
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 …
36 hugetlb.1GB.limit_in_bytes
[all …]
Dindex.rst17 hugetlb
/Linux-v5.15/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh33 mount -t cgroup memory,hugetlb $cgroup_path
95 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file
99 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file
114 echo Waiting for hugetlb memory to get depleted.
127 echo Waiting for hugetlb memory reservation to reach size $size.
140 echo Waiting for hugetlb memory to reach size $size.
163 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file
164 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file
295 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file)
296 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_…
[all …]
Dhugetlb_reparenting_test.sh31 mount -t cgroup memory,hugetlb $CGROUP_ROOT
85 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
86 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
113 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB
114 echo expected b hugetlb = $((${expected_b_hugetlb%% *} / 1024 / 1024)) MB
Drun_vmtests.sh176 ./userfaultfd hugetlb $half_ufd_size_MB 32 $mnt/ufd_test_file
/Linux-v5.15/mm/
Dhugetlb_cgroup.c218 static inline void hugetlb_event(struct hugetlb_cgroup *hugetlb, int idx, in hugetlb_event() argument
221 atomic_long_inc(&hugetlb->events_local[idx][event]); in hugetlb_event()
222 cgroup_file_notify(&hugetlb->events_local_file[idx]); in hugetlb_event()
225 atomic_long_inc(&hugetlb->events[idx][event]); in hugetlb_event()
226 cgroup_file_notify(&hugetlb->events_file[idx]); in hugetlb_event()
227 } while ((hugetlb = parent_hugetlb_cgroup(hugetlb)) && in hugetlb_event()
228 !hugetlb_cgroup_is_root(hugetlb)); in hugetlb_event()
DMakefile77 obj-$(CONFIG_HUGETLBFS) += hugetlb.o
Dmemory-failure.c1136 bool hugetlb = false; in __get_hwpoison_page() local
1138 ret = get_hwpoison_huge_page(head, &hugetlb); in __get_hwpoison_page()
1139 if (hugetlb) in __get_hwpoison_page()
Dhugetlb.c6253 int get_hwpoison_huge_page(struct page *page, bool *hugetlb) in get_hwpoison_huge_page() argument
6257 *hugetlb = false; in get_hwpoison_huge_page()
6260 *hugetlb = true; in get_hwpoison_huge_page()
/Linux-v5.15/include/linux/
Dcgroup_subsys.h53 SUBSYS(hugetlb)
Dhugetlb.h169 int get_hwpoison_huge_page(struct page *page, bool *hugetlb);
360 static inline int get_hwpoison_huge_page(struct page *page, bool *hugetlb) in get_hwpoison_huge_page() argument
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-kernel-mm-hugepages3 Contact: Nishanth Aravamudan <nacc@us.ibm.com>, hugetlb maintainers
/Linux-v5.15/Documentation/admin-guide/mm/
Dhugetlbpage.rst30 persistent hugetlb pages in the kernel's huge page pool. It also displays
64 with each hugetlb page is enabled, the number of surplus huge pages
88 hugetlb page is enabled, we can fail to free the huge pages triggered by
127 if hugepages is the first or only hugetlb command line parameter it
199 indicates that the hugetlb subsystem is allowed to try to obtain that
398 While read system calls are supported on files that reside on hugetlb
409 Users who wish to use hugetlb memory via shared memory segment should be
415 Syscalls that operate on memory backed by hugetlb pages only have their lengths
417 errno set to EINVAL or exclude hugetlb pages that extend beyond the length if
419 a hugetlb page and the length is smaller than the hugepage size.
Dmemory-hotplug.rst556 vmemmap pages associated with each hugetlb page is enabled.
/Linux-v5.15/Documentation/vm/
Dhugetlbfs_reserv.rst376 code (mm/hugetlb.c). These routines are::
564 * When cpuset is configured, it breaks the strict hugetlb page
574 * The change of semantics for shared hugetlb mapping with cpuset is
590 The most complete set of hugetlb tests are in the libhugetlbfs repository.
591 If you modify any hugetlb related code, use the libhugetlbfs test suite
592 to check for regressions. In addition, if you add any new hugetlb
/Linux-v5.15/Documentation/filesystems/
Dproc.rst276 HugetlbPages size of hugetlb memory portions
1828 - (bit 5) hugetlb private memory
1829 - (bit 6) hugetlb shared memory
1836 Note that bits 0-4 don't affect hugetlb or DAX memory. hugetlb memory is
1840 segments, ELF header pages and hugetlb private memory are dumped.
/Linux-v5.15/Documentation/admin-guide/
Dcgroup-v2.rst2236 hugetlb.<hugepagesize>.current
2237 Show current usage for "hugepagesize" hugetlb. It exists for all
2240 hugetlb.<hugepagesize>.max
2241 Set/show the hard limit of "hugepagesize" hugetlb usage.
2244 hugetlb.<hugepagesize>.events
2250 hugetlb.<hugepagesize>.events.local
2251 Similar to hugetlb.<hugepagesize>.events but the fields in the file
Dkernel-parameters.txt926 APIs. In addition, this is the default hugetlb size
1619 Allows heavy hugetlb users to free up some more
1620 memory (6 * PAGE_SIZE for each 2MB hugetlb page).
/Linux-v5.15/Documentation/admin-guide/sysctl/
Dvm.rst307 shared memory segment using hugetlb page.
/Linux-v5.15/
DMAINTAINERS8643 F: include/linux/hugetlb.h
8644 F: mm/hugetlb.c