Searched refs:nr_hugepages (Results 1 – 8 of 8) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | run_hugetlbfs_test.sh | 26 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
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | compaction_test.c | 88 char nr_hugepages[10] = {0}; in check_compaction() local 122 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { in check_compaction() 129 compaction_index = mem_free/(atoi(nr_hugepages) * hugepage_size); in check_compaction() 133 (atoi(nr_hugepages))); in check_compaction() 140 (atoi(nr_hugepages))); in check_compaction()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap05.c | 61 static long hugepagesize, nr_hugepages, nr_overcommit_hugepages; variable 180 tst_res(TINFO, "restore nr_hugepages to %ld.", nr_hugepages); in cleanup() 181 SAFE_FILE_PRINTF(path, "%ld", nr_hugepages); in cleanup() 222 SAFE_FILE_SCANF(path, "%ld", &nr_hugepages); in setup() 223 tst_res(TINFO, "original nr_hugepages is %ld", nr_hugepages); in setup()
|
/external/linux-kselftest/android/patches/ |
D | 0013-run_vmtests.patch | 32 -#set proper nr_hugepages 34 - nr_hugepgs=`cat /proc/sys/vm/nr_hugepages` 40 - echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages 155 -echo $nr_hugepgs > /proc/sys/vm/nr_hugepages 187 +##set proper nr_hugepages 189 +# nr_hugepgs=`cat /proc/sys/vm/nr_hugepages` 195 +# echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages 310 +#echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_testset.sh | 181 save_nr_hugepages=$(cat /proc/sys/vm/nr_hugepages) 182 echo $((2*$nr_mems)) > /proc/sys/vm/nr_hugepages 190 echo $save_nr_hugepages > /proc/sys/vm/nr_hugepages 191 if [ $(cat /proc/sys/vm/nr_hugepages) -ne $save_nr_hugepages ]; then 220 save_nr_hugepages=$(cat /proc/sys/vm/nr_hugepages) 221 echo $((2*$nr_mems)) > /proc/sys/vm/nr_hugepages 229 echo $save_nr_hugepages > /proc/sys/vm/nr_hugepages 230 if [ $(cat /proc/sys/vm/nr_hugepages) -ne $save_nr_hugepages ]; then
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_lib.sh | 362 nr_hugepages=`cat /proc/sys/vm/nr_hugepages` 367 echo $1 > /proc/sys/vm/nr_hugepages 403 echo $nr_hugepages > /proc/sys/vm/nr_hugepages
|
/external/ltp/testcases/kernel/numa/ |
D | numa01.sh | 331 Ori_hpgs=$(cat ${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages) 333 echo $New_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages 335 Chk_hpgs=$(cat ${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages) 352 echo $Ori_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages 357 echo $Ori_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages
|
/external/autotest/client/tests/libhugetlbfs/ |
D | libhugetlbfs.py | 20 nr_hugepages = utils.read_one_line('/proc/sys/vm/nr_hugepages') 21 pages_available = int(nr_hugepages)
|