From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 491E4C7618A for ; Mon, 20 Mar 2023 06:48:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbjCTGsK (ORCPT ); Mon, 20 Mar 2023 02:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbjCTGsG (ORCPT ); Mon, 20 Mar 2023 02:48:06 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9F7EB6E92; Sun, 19 Mar 2023 23:48:04 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B921AFEC; Sun, 19 Mar 2023 23:48:47 -0700 (PDT) Received: from [10.162.40.143] (a077209.arm.com [10.162.40.143]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 043ED3F885; Sun, 19 Mar 2023 23:48:01 -0700 (PDT) Message-ID: Date: Mon, 20 Mar 2023 12:17:59 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 3/3] selftests: Set overcommit_policy as OVERCOMMIT_ALWAYS To: David Hildenbrand , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Andrew Morton , Shuah Khan , linux-kselftest@vger.kernel.org References: <20230314042351.13134-1-chaitanyas.prakash@arm.com> <20230314042351.13134-4-chaitanyas.prakash@arm.com> <8fe0d91b-2209-1c66-2788-f18055c9d213@redhat.com> Content-Language: en-US From: Chaitanya S Prakash In-Reply-To: <8fe0d91b-2209-1c66-2788-f18055c9d213@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. >