Re: [PATCH 3/3] selftests: Set overcommit_policy as OVERCOMMIT_ALWAYS

From: Chaitanya S Prakash
Date: Mon Mar 20 2023 - 02:48:11 EST




On 3/16/23 21:01, David Hildenbrand wrote:
On 14.03.23 05:23, Chaitanya S Prakash wrote:
The kernel's default behaviour is to obstruct the allocation of high
virtual address as it handles memory overcommit in a heuristic manner.
Setting the parameter as OVERCOMMIT_ALWAYS, ensures kernel isn't
susceptible to the availability of a platform's physical memory when
denying a memory allocation request.

Which tests in particular require that?

This is applicable to the virtual address range selftest.


Subjects should start with "selftests/mm" instead of more generic "selftests:"

I'll make the necessary changes.