<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/12/2019 10:51 AM, Li Wang wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEemH2eMYmquWXAHXUuPQ1Li2DSfvHpV01O4GMQFZ0Z0s=8+hw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Sep 11, 2019 at 7:19
PM Cyril Hrubis <<a href="mailto:chrubis@suse.cz"
target="_blank" moz-do-not-send="true">chrubis@suse.cz</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi!<br>
> I'm not sure why 64 pages is a proper value? Can you
explain more?<br>
<br>
I've just talked to Michal Hocko and the conclusion is that
we should<br>
allocate several megabytes to avoid depending kernel
implementation<br>
details, which would mean allocating thousands of pages.<br>
</blockquote>
<div><br>
</div>
<div>
<div class="gmail_default">Sounds reasonable. Allocating
thousands of pages must trigger the MADV_FREE page
reclaiming.</div>
</div>
<div><br>
</div>
</div>
<div class="gmail_default" style="font-size:small">@shuang.qiu,
Hi Shuang, would you mind to rewrite the patch, or should I do
that?</div>
</div>
</blockquote>
Thanks for helping to investigate this issue.<br>
I will update the patch.<br>
32 pages is really small in current system which may be held on
reclaiming small piece of memory,thousands of pages is reasonable.<br>
<br>
Thanks<br>
Shuang<br>
<blockquote type="cite"
cite="mid:CAEemH2eMYmquWXAHXUuPQ1Li2DSfvHpV01O4GMQFZ0Z0s=8+hw@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
-- <br>
<div dir="ltr" class="m_9063406343708931987gmail_signature">
<div dir="ltr">
<div>Regards,<br>
</div>
<div>Li Wang<br>
</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>