[LTP] [PATCH 1/1] test_zero_hugepage.sh: Detect errors write to /proc/sys/vm/nr_hugepages

xuyang2018.jy@fujitsu.com xuyang2018.jy@fujitsu.com
Tue Nov 9 01:51:27 CET 2021


Hi Cyril
> Hi!
>>> Agreed, If the system memory is too fragmental to keep
>>> enough hpages, there won't be an error returned.
>> OK, wait little longer and then merge with keeping
>> echo "128">  /proc/sys/vm/nr_hugepages
>
> Also I wonder why do we request 128? I guess that 4 would be more than
> enough.
I don't think about so much when I wrote this script. Using a small 
number is also ok for me.
>
> Other than that:
>
> Reviewed-by: Cyril Hrubis<chrubis@suse.cz>
>


More information about the ltp mailing list