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

From: Shuah Khan
Date: Thu Apr 27 2017 - 09:53:31 EST


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@xxxxxxxxx>
> ---
> 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