[LTP] [PATCH] madvise09:Change PAGES size to the value more than 32

Li Wang
2019-09-12T02:51:21Z

On Wed, Sep 11, 2019 at 7:19 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > I'm not sure why 64 pages is a proper value? Can you explain more?
>
> I've just talked to Michal Hocko and the conclusion is that we should
> allocate several megabytes to avoid depending kernel implementation
> details, which would mean allocating thousands of pages.
>

Sounds reasonable. Allocating thousands of pages must trigger the MADV_FREE
page reclaiming.

@shuang.qiu, Hi Shuang, would you mind to rewrite the patch, or should I do
that?

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