[LTP] [PATCH 1/1] test_zero_hugepage.sh: Lower hpages to 4

Petr Vorel pvorel@suse.cz
Tue Nov 9 11:11:45 CET 2021


which is enough

Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Tested on various distros, working.

Kind regards,
Petr

 lib/newlib_tests/test_zero_hugepage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/newlib_tests/test_zero_hugepage.sh b/lib/newlib_tests/test_zero_hugepage.sh
index eed0a96f9..92bd7e331 100755
--- a/lib/newlib_tests/test_zero_hugepage.sh
+++ b/lib/newlib_tests/test_zero_hugepage.sh
@@ -25,7 +25,7 @@ if [ ! -w /proc/sys/vm/nr_hugepages ]; then
 	tconf "no write permission to /proc/sys/vm/nr_hugepages (run as root)"
 fi
 
-echo "128" > /proc/sys/vm/nr_hugepages
+echo 4 > /proc/sys/vm/nr_hugepages
 
 ./test_zero_hugepage
 
-- 
2.33.1



More information about the ltp mailing list