From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f72.google.com (mail-it0-f72.google.com [209.85.214.72]) by kanga.kvack.org (Postfix) with ESMTP id 8A6A96B0005 for ; Tue, 13 Feb 2018 21:04:21 -0500 (EST) Received: by mail-it0-f72.google.com with SMTP id w125so10983556itf.0 for ; Tue, 13 Feb 2018 18:04:21 -0800 (PST) Received: from userp2120.oracle.com (userp2120.oracle.com. [156.151.31.85]) by mx.google.com with ESMTPS id m25si573401ioo.166.2018.02.13.18.04.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 18:04:20 -0800 (PST) Subject: Re: [patch -mm] mm, page_alloc: extend kernelcore and movablecore for percent fix References: From: Mike Kravetz Message-ID: <21f97b8f-993a-dcff-c72a-1dad2d5c9c4f@oracle.com> Date: Tue, 13 Feb 2018 17:10:03 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes , Andrew Morton Cc: Jonathan Corbet , Vlastimil Babka , Mel Gorman , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org On 02/13/2018 05:00 PM, David Rientjes wrote: > Specify that movablecore= can use a percent value. > > Remove comment about hugetlb pages not being movable per Mike. > > Cc: Mike Kravetz > Signed-off-by: David Rientjes Thanks! FWIW, Reviewed-by: Mike Kravetz And, that is for all of patch 1. -- Mike Kravetz > --- > .../admin-guide/kernel-parameters.txt | 22 +++++++++---------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -1837,10 +1837,9 @@ > > ZONE_MOVABLE is used for the allocation of pages that > may be reclaimed or moved by the page migration > - subsystem. This means that HugeTLB pages may not be > - allocated from this zone. Note that allocations like > - PTEs-from-HighMem still use the HighMem zone if it > - exists, and the Normal zone if it does not. > + subsystem. Note that allocations like PTEs-from-HighMem > + still use the HighMem zone if it exists, and the Normal > + zone if it does not. > > It is possible to specify the exact amount of memory in > the form of "nn[KMGTPE]", a percentage of total system > @@ -2353,13 +2352,14 @@ > mousedev.yres= [MOUSE] Vertical screen resolution, used for devices > reporting absolute coordinates, such as tablets > > - movablecore=nn[KMG] [KNL,X86,IA-64,PPC] This parameter > - is similar to kernelcore except it specifies the > - amount of memory used for migratable allocations. > - If both kernelcore and movablecore is specified, > - then kernelcore will be at *least* the specified > - value but may be more. If movablecore on its own > - is specified, the administrator must be careful > + movablecore= [KNL,X86,IA-64,PPC] > + Format: nn[KMGTPE] | nn% > + This parameter is the complement to kernelcore=, it > + specifies the amount of memory used for migratable > + allocations. If both kernelcore and movablecore is > + specified, then kernelcore will be at *least* the > + specified value but may be more. If movablecore on its > + own is specified, the administrator must be careful > that the amount of memory usable for all allocations > is not too small. > > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org