Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623431

[PATCH v2] selftests/vm/run_vmtests: Fix wrong comment

From SeongJae Park <sj38.park@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment
Date 2017-04-14 01:50 +0200
Message-ID <tvWEV-1Js-3@gated-at.bofh.it> (permalink)
References <tvWEV-1Js-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


A comment in `run_vmtests` is wrong because it is saying `128MB + 128MB
== 258MB`.  This commit fixes the comment.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 tools/testing/selftests/vm/run_vmtests | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/vm/run_vmtests b/tools/testing/selftests/vm/run_vmtests
index 0091bde3f25f..2ed05ad00daa 100755
--- a/tools/testing/selftests/vm/run_vmtests
+++ b/tools/testing/selftests/vm/run_vmtests
@@ -106,7 +106,7 @@ fi
 echo "---------------------------"
 echo "running userfaultfd_hugetlb"
 echo "---------------------------"
-# 258MB total huge pages == 128MB src and 128MB dst
+# 256MB total huge pages == 128MB src and 128MB dst
 ./userfaultfd_hugetlb 128 32 $mnt/ufd_test_file
 if [ $? -ne 0 ]; then
 	echo "[FAIL]"
-- 
2.12.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2] selftests/vm/run_vmtests: Fix wrong comment SeongJae Park <sj38.park@gmail.com> - 2017-04-14 01:50 +0200

csiph-web