Received: by 10.74.127.91 with SMTP id w88csp141621ooc; Tue, 13 Feb 2018 17:15:28 -0800 (PST) X-Google-Smtp-Source: AH8x225WfD2GuqZz8ABDmOXwXy8AltW4gNGGHXV8on9QeHsaVdMfjcjdKousTSlU1DvWyC2tO779 X-Received: by 2002:a17:902:9893:: with SMTP id s19-v6mr2755580plp.101.1518570928050; Tue, 13 Feb 2018 17:15:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518570928; cv=none; d=google.com; s=arc-20160816; b=KIgm73wk4nfTuhw/joRBXoutAOjVy8RZWGP912lVrMuZyEYhqwDbHPiQrUpQHrTlhO YHdA8kf+nY1ktGaPvZ5ieyhKQMe0r39+px60tAJc2o9egnElj6JSMaFdXirdbFP7OY0u LmQ1ZVrxtDEdMq+KHvoiJbRxGoHQwqHeZXVJ7APQe26ZRSA6Uk+IhA1C63lDB1hN+KDN cz5slCYQKINosHPH6DgnW+lQDG26UxinLnE1t0OaxwPBZ/F9wL5d/8eJH5jqqRRz5Rf+ pvRDyqIzknUfloLc/rSJHuRd0S8rd0fwJJvGkEAs65qhzaUkrjIOda+a5MypIL+iFQq7 90KQ== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=NLeIUnicSwgLJ5vKbgiFvG9Y9YcjPOJ4Wvhz6AYIxFw=; b=02CyPfkEjfOSV8C3vXIdxtM6IXuMUinx8+Pbp31ygF/tS6Fa54eWrZzw11NfLBjCw5 1NYaPyTWvrICbUbae4xbQZ/rL9nYACZXVAqeLrXGj/kpOgQ1814IXs2MkVWFJ35ddCzZ rqlJBYfeJD1ow3pv9kcsot2e3MpFPVoKn5M5ojwWbvfJvqECXCUrrq7VNuQBhvhIEfPI XhNyydGo6RqN8sbDFN0zkppPCuNfh7826YQ7ITvYJaj0KCMB5czkhHypOtX/bkX6IBHf 6hGfrl++HmtvPUfVjVqv6FHLhGjm4zEE5GPgzbAlXpFCgTmTwqHuvQnBUz2fqjnglV/X F7hg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12si283244pgu.475.2018.02.13.17.15.13; Tue, 13 Feb 2018 17:15:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966392AbeBNBOf (ORCPT + 99 others); Tue, 13 Feb 2018 20:14:35 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36088 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966225AbeBNBOe (ORCPT ); Tue, 13 Feb 2018 20:14:34 -0500 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.92]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 96956F38; Wed, 14 Feb 2018 01:14:33 +0000 (UTC) Date: Tue, 13 Feb 2018 17:14:32 -0800 From: Andrew Morton To: David Rientjes Cc: Jonathan Corbet , Vlastimil Babka , Mel Gorman , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org Subject: Re: [patch 1/2] mm, page_alloc: extend kernelcore and movablecore for percent Message-Id: <20180213171432.13c496c6603255bff66ce826@linux-foundation.org> In-Reply-To: References: <20180213154607.f631e2e033f42c32925e3d2d@linux-foundation.org> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Feb 2018 15:55:11 -0800 (PST) David Rientjes wrote: > > > > Is this fine-grained enough? We've had percentage-based tunables in > > the past, and 10 years later when systems are vastly larger, 1% is too > > much. > > > > They still have the (current) ability to define the exact amount of bytes > down to page sized granularity, whereas 1% would yield 40GB on a 4TB > system. I'm not sure that people will want any finer-grained control if > defining the proportion of the system for kernelcore. They do have the > ability with the existing interface, though, if they want to be that > precise. > > (This is a cop out for not implementing some fractional percentage parser, > although that would be possible as a more complete solution.) And the interface which you've proposed can be seamlessly extended to accept 0.07%, so not a problem.