From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Wang Date: Thu, 4 Jul 2019 14:23:25 +0800 Subject: [LTP] [PATCH RFC] move_pages12: handle errno EBUSY for madvise(..., MADV_SOFT_OFFLINE) In-Reply-To: References: <20190607095213.13372-1-liwang@redhat.com> <20190703131005.GA1712@rei> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it > 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: