mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment
       [not found] <CAEjAshr-WNz=FC6mqDc=gR_Ab5Q5_MNWOW1ztnJbOt8G36RYvw@mail.gmail.com>
@ 2017-04-13 23:49 ` SeongJae Park
  2017-04-27 13:53   ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2017-04-13 23:49 UTC (permalink / raw)
  To: shuah; +Cc: aarcange, akpm, linux-kselftest, linux-kernel, SeongJae Park

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment
  2017-04-13 23:49 ` [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment SeongJae Park
@ 2017-04-27 13:53   ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2017-04-27 13:53 UTC (permalink / raw)
  To: SeongJae Park; +Cc: aarcange, akpm, linux-kselftest, linux-kernel, shuah Khan

On 04/13/2017 05:49 PM, SeongJae Park wrote:
> 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]"
> 

Applied to linux-kselftest next for 4.12-rc1.

thanks for the patch.

-- Shuah

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-27 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAEjAshr-WNz=FC6mqDc=gR_Ab5Q5_MNWOW1ztnJbOt8G36RYvw@mail.gmail.com>
2017-04-13 23:49 ` [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment SeongJae Park
2017-04-27 13:53   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®