Skip to contentSkip to conversation

test_zero_hugepage.sh: Lower hpages to 4

PATCH In review Petr Vorel 3 participants 4 messages Nov 9, 2021

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 test_zero_hugepage.sh: Lower hpages to 4

which is enough

---
Tested on various distros, working.

Kind regards,
Petr

 lib/newlib_tests/test_zero_hugepage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/newlib_tests/test_zero_hugepage.sh +1 -1
index eed0a96f9..92bd7e331 100755
@@ -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
 
Signature · 5 lines
2.33.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by on v1 1/1
#1 lore raw
Quoted 25 lines · Petr Vorel

which is enough

---
Tested on various distros, working.

Kind regards,
Petr

 lib/newlib_tests/test_zero_hugepage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/newlib_tests/test_zero_hugepage.sh +0 -0
index eed0a96f9..92bd7e331 100755
@@ -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

lib/newlib_tests/test_zero_hugepage.sh if [ ! -w /proc/sys/vm/nr_hugepages ]; then · line 28

Quoted 2 lines
lib/newlib_tests/test_zero_hugepage.sh +1 -1
-echo "128" > /proc/sys/vm/nr_hugepages
+echo 4 > /proc/sys/vm/nr_hugepages
Quoted 11 lines

./test_zero_hugepage

--
2.33.1

--
Mailing list info: https://lists.linux.it/listinfo/ltp

Signature · 2 lines
Regards,
Li Wang
Signature · 2 lines
-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#3 lore raw

Hi all,

thanks, merged!

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp