[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240321145146.a3ce8a1e247371e33a437978@linux-foundation.org>
Date: Thu, 21 Mar 2024 14:51:46 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Dev Jain <dev.jain@....com>
Cc: shuah@...nel.org, linux-mm@...ck.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, Anshuman.Khandual@....com
Subject: Re: [PATCH] selftests/mm: Confirm VA exhaustion without reliance on
correctness of mmap()
On Thu, 21 Mar 2024 16:05:22 +0530 Dev Jain <dev.jain@....com> wrote:
> Currently, VA exhaustion is being checked by passing a hint to mmap() and
> expecting it to fail. This patch makes a stricter test by successful write()
> calls from /proc/self/maps to a dump file, confirming that a free chunk is
> indeed not available.
What's wrong with the current approach?
Powered by blists - more mailing lists