[LTP] [PATCH 1/1] test_zero_hugepage.sh: Lower hpages to 4

Li Wang liwang@redhat.com
Tue Nov 9 11:22:10 CET 2021


On Tue, Nov 9, 2021 at 6:12 PM Petr Vorel <pvorel@suse.cz> wrote:

> which is enough
>
> Suggested-by: Cyril Hrubis <chrubis@suse.cz>
> Acked-by: Yang Xu <xuyang2018.jy@fujitsu.com>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Tested on various distros, working.
>
> Kind regards,
> Petr
>
>  lib/newlib_tests/test_zero_hugepage.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/newlib_tests/test_zero_hugepage.sh
> b/lib/newlib_tests/test_zero_hugepage.sh
> index eed0a96f9..92bd7e331 100755
> --- a/lib/newlib_tests/test_zero_hugepage.sh
> +++ b/lib/newlib_tests/test_zero_hugepage.sh
> @@ -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
>
Reviewed-by: Li Wang <liwang@redhat.com>


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

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211109/a17c0f90/attachment-0001.htm>


More information about the ltp mailing list