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


Groups > linux.kernel > #1632115

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

From Shuah Khan <shuah@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment
Date 2017-04-27 16:00 +0200
Message-ID <tAS7E-1ly-11@gated-at.bofh.it> (permalink)
References <tvWEV-1Js-5@gated-at.bofh.it> <tvWEV-1Js-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

Re: [PATCH v2] selftests/vm/run_vmtests: Fix wrong comment Shuah Khan <shuah@kernel.org> - 2017-04-27 16:00 +0200

csiph-web