<div dir="ltr"><div class="gmail_quote"><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div><div style="font-size:small">iteration, the mmap() will be failed with ENOMEM(since we only have 1 huge page in /proc/.../nr_hugepages).</div></div></div></div></blockquote><div> </div><div><div class="gmail_default" style="font-size:small">Sentence correction:</div></div></div><div class="gmail_default" style="font-size:small">    It is not "only have 1 huge page in nr_hugepages", I mixed this test with another case, sorry about that.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">But the justification is the same, we don't have enough memory for the parent does mmap(..., MAP_HUGETLB) in a new loop.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>