[LTP] [RFC PATCH] mm: rewrite mtest01 with new API

Li Wang liwang@redhat.com
Tue Mar 5 08:04:43 CET 2019

On Fri, Mar 1, 2019 at 4:44 PM Jan Stancek <jstancek@redhat.com> wrote:

> > if (dowrite) {
> >                 pre_free - post_free check...
> This doesn't look very accurate. Other system processes can influence this.
> Do we need to check it at all? If a child didn't complete allocation
> it's not going to signal parent.

Sounds reasonable, if the parent exit from the loop correctly that means
children finished their memory allocation.

Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190305/c97248e5/attachment.html>

More information about the ltp mailing list