[LTP] [PATCH v4 1/2] lib: add .request_hugepages to reserve hugepage

Li Wang liwang@redhat.com
Wed Feb 19 05:02:02 CET 2020


Cyril Hrubis <chrubis@suse.cz> wrote:

...
> > +
> > +             mem_avail = SAFE_READ_MEMINFO("MemFree:");
> > +     }
>
> I guess that we don't have to bother with MemAvailable here, since we do
> drop the system caches the MemFree should be equal to MemAvailable. So I
> would be for reading just MemFree unconditionally here.
>

+1 yes, that's right.


> If you agree with this change I can change it before applying.
>

Of course yes, feel free to do that (and remember to add the changes which
Petr suggested).

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


More information about the ltp mailing list