Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/memfd/
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
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dcompaction_test.c89 char nr_hugepages[10] = {0}; in check_compaction() local
123 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { in check_compaction()
130 compaction_index = mem_free/(atoi(nr_hugepages) * hugepage_size); in check_compaction()
134 (atoi(nr_hugepages))); in check_compaction()
141 (atoi(nr_hugepages))); in check_compaction()
Dcharge_reserved_hugetlb.sh59 echo 0 >/proc/sys/vm/nr_hugepages
266 local nr_hugepages="$6"
278 echo nr hugepages = "$nr_hugepages"
279 echo "$nr_hugepages" >/proc/sys/vm/nr_hugepages
314 local nr_hugepages="${11}"
331 echo nr hugepages = "$nr_hugepages"
332 echo "$nr_hugepages" >/proc/sys/vm/nr_hugepages
Drun_vmtests33 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages`
39 echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages
187 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
Dhugetlb_reparenting_test.sh50 echo 0 >/proc/sys/vm/nr_hugepages
120 echo 100 >/proc/sys/vm/nr_hugepages
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/
Dhugetlbpage.rst60 the pool above the value in ``/proc/sys/vm/nr_hugepages``. The
77 ``/proc/sys/vm/nr_hugepages`` indicates the current number of "persistent" huge
81 by increasing or decreasing the value of ``nr_hugepages``.
149 When multiple huge page sizes are supported, ``/proc/sys/vm/nr_hugepages``
154 echo 20 > /proc/sys/vm/nr_hugepages
161 task that modifies ``nr_hugepages``. The default for the allowed nodes--when the
186 huge pages can grow, if more huge pages than ``/proc/sys/vm/nr_hugepages`` are
193 When increasing the huge page pool size via ``nr_hugepages``, any existing
199 the default huge page size by setting the ``nr_hugepages`` sysctl to a
201 across all nodes in the memory policy of the task modifying ``nr_hugepages``.
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-kernel-mm-hugepages11 - nr_hugepages
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dvm.rst54 - nr_hugepages
555 nr_hugepages chapter
576 nr_hugepages + nr_overcommit_hugepages.
/kernel/linux/linux-5.10/mm/
Dhugetlb.c2899 HSTATE_ATTR(nr_hugepages);