Received: by 10.74.127.91 with SMTP id w88csp141319ooc; Tue, 13 Feb 2018 17:15:00 -0800 (PST) X-Google-Smtp-Source: AH8x2273jceSsc9pHMqXlWRowEv4+FiRUNz/2pE9UXchMsU9rRN15xADW9M015EX63ZzVxigng/C X-Received: by 2002:a17:902:59d3:: with SMTP id d19-v6mr2781839plj.394.1518570900809; Tue, 13 Feb 2018 17:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518570900; cv=none; d=google.com; s=arc-20160816; b=rP8kLJq8skg61HQPivpdy1cWtUinVBGLtSpFnbHSq0NaSWmqyyDYaAVQGoDxYoQtI/ VqGwcH2XvN1EYDXPNee2BGQBYUpxbbvXSsTaK0mA2dypyjFHcuS0sYWn38FAxPuDkjz5 eP9EQ4qm4JELN710gD8WwCdNB+dmMQS/L+IW8R4oVFxnBQqg5GjavqsKFqpnmmhXMyJ+ VsT2H8YWFYtLugD5ZOQlQVldVuyiS9H3cZMxj/OgQjuaz3oOtf/sKPMWTYTjhALRjOZQ SgSGTiPZ64BMEiP+3SsCwwaYb8OV3UOMUpOp6tkfum2esCXpVk67QqaB0kA2d2RXbZAF bfUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Y4GNKq8UwfHMF+cxCnmEP4aHTKsvPOh0ggniBh0Hu/A=; b=D0GPhqPJqryJvY3gLJjNo4gImG4hUu6c+b01zqhpV+Iiwl0oMts8vKmWLrlz8mgVFp 6yxJzoL2UG0vvA+6mgrTcrBWkpF+fuJJlp9Z9R1+qX6M8iKpdFN9vDfN9pK2x7pTqapf gbDTXeqdiyDqyAU8YwvF30wQT/W7W5IIplwgTS/Jd2lRW3qdS+3ptXvDXEbxtyUWHn7T Ouj6nOqeTHB6CUi7qbP407nS2YTDtOayY5GrPlMCvbXFoOAVXLqeW61o/LV5Q+SvVbK9 /flkFM+T7y4cU3XFbOCAh/YVMSPSOFni9hoPQtoYGxcqbUh6zVN7JkAV3/90isVUmDy/ H1Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BGrmJejo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61-v6si1350195pld.692.2018.02.13.17.14.45; Tue, 13 Feb 2018 17:15:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BGrmJejo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966387AbeBNBMk (ORCPT + 99 others); Tue, 13 Feb 2018 20:12:40 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:49342 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966225AbeBNBMi (ORCPT ); Tue, 13 Feb 2018 20:12:38 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1E1CT79170089; Wed, 14 Feb 2018 01:12:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=Y4GNKq8UwfHMF+cxCnmEP4aHTKsvPOh0ggniBh0Hu/A=; b=BGrmJejoSmhIb+V9YZO+abBn76ILMvPxwoJQ9AFyFtOjLnUB+V/lQDjtCb2ptKuVFwGQ 0e+WOCUQ1Ni7g0kYmoFDD9/7LoVgqkbUpju2FlV8wIDSj/Sml7fHRuItYVXAd78R7u5M 1nu63vGstE12E7XEF40nbKUCCQbwa36YEBpogLh6ILtI9y1NOVwWXN6I7li6fD5/mWDH JTYXIAv65ely+KSELrzgJle5vQx+oe6P/BLcmMgbN7yoAkKE6BqwykLAEO0ijHWqZ5hA QguTMFMTsNDcVTRa3gIGZ2wEpzGd1M11aVA9IEnaVTuruL76pAgWziBTIDvugFCR9Ak/ EQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2g49h6ra30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Feb 2018 01:12:30 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1E1A5oG030049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Feb 2018 01:10:06 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w1E1A50J025536; Wed, 14 Feb 2018 01:10:05 GMT Received: from [192.168.1.164] (/98.246.252.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 Feb 2018 17:10:05 -0800 Subject: Re: [patch -mm] mm, page_alloc: extend kernelcore and movablecore for percent fix 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 References: From: Mike Kravetz Message-ID: <21f97b8f-993a-dcff-c72a-1dad2d5c9c4f@oracle.com> Date: Tue, 13 Feb 2018 17:10:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8804 signatures=668670 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802140009 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 >