[LTP] [PATCH RFC] move_pages12: handle errno EBUSY for madvise(..., MADV_SOFT_OFFLINE)

Li Wang
2019-07-04T06:23:25Z

> iteration, the mmap() will be failed with ENOMEM(since we only have 1 huge
> page in /proc/.../nr_hugepages).
>

Sentence correction:
It is not "only have 1 huge page in nr_hugepages", I mixed this test
with another case, sorry about that.

But the justification is the same, we don't have enough memory for the
parent does mmap(..., MAP_HUGETLB) in a new loop.

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