Re: [PATCH 20/29] selftests/mm: Allow allocate_area() to fail properly

From: Peter Xu
Date: Tue Apr 11 2023 - 15:43:50 EST


On Tue, Apr 11, 2023 at 02:02:30PM +0300, Mike Rapoport wrote:
> On Thu, Mar 30, 2023 at 12:08:15PM -0400, Peter Xu wrote:
> > Mostly to detect hugetlb allocation errors and skip hugetlb tests when
> > pages are not allocated.
>
> Wouldn't we want to skip anon and shmem tests as well for consistency?

Much less possibile (and useful) than hugetlb for sure, but it's indeed
more consistent. Will do.

--
Peter Xu