<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 Fri, Mar 1, 2019 at 4:44 PM Jan Stancek <<a href="mailto:jstancek@redhat.com">jstancek@redhat.com</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"><br>
> if (dowrite) {<br>
> pre_free - post_free check...<br>
<br>
This doesn't look very accurate. Other system processes can influence this.<br>
<br>
Do we need to check it at all? If a child didn't complete allocation<br>
it's not going to signal parent.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Sounds reasonable, if the parent exit from the loop correctly that means children finished their memory allocation.</div></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>