Searched refs:nr_hugepages (Results 1 – 10 of 10) sorted by relevance
91 char nr_hugepages[20] = {0}; in check_compaction() local119 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { in check_compaction()127 nr_hugepages_ul = strtoul(nr_hugepages, NULL, 10); in check_compaction()164 char nr_hugepages[20] = {0}; in set_zero_hugepages() local172 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { in set_zero_hugepages()187 *initial_nr_hugepages = strtoul(nr_hugepages, NULL, 10); in set_zero_hugepages()
165 # set proper nr_hugepages167 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages)173 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then272 nr_hugepages_tmp=$(cat /proc/sys/vm/nr_hugepages)274 echo 1 > /proc/sys/vm/nr_hugepages278 echo "$nr_hugepages_tmp" > /proc/sys/vm/nr_hugepages312 echo "$nr_hugepgs" > /proc/sys/vm/nr_hugepages337 nr_hugepages_tmp=$(cat /proc/sys/vm/nr_hugepages)339 echo 8 > /proc/sys/vm/nr_hugepages341 echo "$nr_hugepages_tmp" > /proc/sys/vm/nr_hugepages[all...]
14 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages)68 echo 0 >/proc/sys/vm/nr_hugepages275 local nr_hugepages="$6"287 echo nr hugepages = "$nr_hugepages"288 echo "$nr_hugepages" >/proc/sys/vm/nr_hugepages323 local nr_hugepages="${11}"340 echo nr hugepages = "$nr_hugepages"341 echo "$nr_hugepages" >/proc/sys/vm/nr_hugepages588 echo "$nr_hugepgs" > /proc/sys/vm/nr_hugepages
14 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages)59 echo 0 >/proc/sys/vm/nr_hugepages129 echo 100 >/proc/sys/vm/nr_hugepages257 echo "$nr_hugepgs" > /proc/sys/vm/nr_hugepages
104 unsigned long *nr_hugepages) in read_nr_hugepages() argument124 *nr_hugepages = atoll(buffer); in read_nr_hugepages()
26 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages`35 echo $(( $hpages_needed + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages50 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages67 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
14 HUGE_PAGES=$(cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages)43 sudo_echo "$(( $HUGE_PAGES + 3 ))" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages67 sudo_echo "$HUGE_PAGES" /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
11 - nr_hugepages
56 - nr_hugepages611 nr_hugepages chapter635 never explicitly allocating HugeTLB pages with 'nr_hugepages' but only set649 pages, you can set "nr_hugepages" to 0 first and then disable this. Note that650 writing 0 to nr_hugepages will make any "in use" HugeTLB pages become surplus669 nr_hugepages + nr_overcommit_hugepages.
4000 HSTATE_ATTR(nr_hugepages);