Home
last modified time | relevance | path

Searched refs:nr_hugepages (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/memfd/
H A Drun_hugetlbfs_test.sh26 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages`
35 echo $(( $hpages_needed + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages
50 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
67 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
/openbmc/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh66 echo 0 >/proc/sys/vm/nr_hugepages
273 local nr_hugepages="$6"
285 echo nr hugepages = "$nr_hugepages"
286 echo "$nr_hugepages" >/proc/sys/vm/nr_hugepages
321 local nr_hugepages="${11}"
338 echo nr hugepages = "$nr_hugepages"
339 echo "$nr_hugepages" >/proc/sys/vm/nr_hugepages
H A Dcompaction_test.c91 char nr_hugepages[20] = {0}; in check_compaction() local
132 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { in check_compaction()
140 nr_hugepages_ul = strtoul(nr_hugepages, NULL, 10); in check_compaction()
H A Drun_vmtests.sh154 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages)
160 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then
281 echo "$nr_hugepgs" > /proc/sys/vm/nr_hugepages
312 prev_nr_hugepages=$(cat /proc/sys/vm/nr_hugepages)
314 echo 6 > /proc/sys/vm/nr_hugepages
318 echo $prev_nr_hugepages > /proc/sys/vm/nr_hugepages
H A Dhugetlb_reparenting_test.sh58 echo 0 >/proc/sys/vm/nr_hugepages
128 echo 100 >/proc/sys/vm/nr_hugepages
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dnx_huge_pages_test.sh14 HUGE_PAGES=$(cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages)
32 sudo_echo "$(( $HUGE_PAGES + 3 ))" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
56 sudo_echo "$HUGE_PAGES" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
/openbmc/linux/Documentation/admin-guide/mm/
H A Dhugetlbpage.rst58 the pool above the value in ``/proc/sys/vm/nr_hugepages``. The
79 ``/proc/sys/vm/nr_hugepages`` indicates the current number of "persistent" huge
83 by increasing or decreasing the value of ``nr_hugepages``.
168 When multiple huge page sizes are supported, ``/proc/sys/vm/nr_hugepages``
173 echo 20 > /proc/sys/vm/nr_hugepages
212 When increasing the huge page pool size via ``nr_hugepages``, any existing
218 the default huge page size by setting the ``nr_hugepages`` sysctl to a
251 nr_hugepages
295 huge page pool, using the ``nr_hugepages`` example above, is::
304 This will allocate or free ``abs(20 - nr_hugepages)`` to or from the nodes
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-hugepages11 - nr_hugepages
/openbmc/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst54 - nr_hugepages
557 nr_hugepages chapter
581 never explicitly allocating HugeTLB pages with 'nr_hugepages' but only set
595 pages, you can set "nr_hugepages" to 0 first and then disable this. Note that
596 writing 0 to nr_hugepages will make any "in use" HugeTLB pages become surplus
615 nr_hugepages + nr_overcommit_hugepages.
/openbmc/linux/mm/
H A Dhugetlb.c3820 HSTATE_ATTR(nr_hugepages);