From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 26 Apr 2019 07:33:35 +0200 From: Michal Hocko Subject: Re: [PATCH] arm64: configurable sparsemem section size Message-ID: <20190426053335.GD12337@dhcp22.suse.cz> References: <20190423203843.2898-1-pasha.tatashin@soleen.com> <20190425152550.GY12751@dhcp22.suse.cz> <20190425153138.GC25193@fuggles.cambridge.arm.com> <20190425154156.GZ12751@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Pavel Tatashin Cc: Will Deacon , James Morris , Sasha Levin , LKML , linux-mm , linux-nvdimm , Andrew Morton , Dave Hansen , Dan Williams , Keith Busch , Vishal L Verma , Dave Jiang , Ross Zwisler , Tom Lendacky , "Huang, Ying" , Fengguang Wu , Borislav Petkov , Bjorn Helgaas , Yaowei Bai , Takashi Iwai , =?iso-8859-1?B?Suly9G1l?= Glisse , Catalin Marinas , rppt@linux.vnet.ibm.com, Ard Biesheuvel , andrew.murray@arm.com, james.morse@arm.com, Marc Zyngier , sboyd@kernel.org, Linux ARM List-ID: On Thu 25-04-19 13:57:25, Pavel Tatashin wrote: > > > I gave *vague* memories of running out of bits in the page flags if we > > > changed this, but that was a while back. If that's no longer the case, > > > then I'm open to changing the value, but I really don't want to expose > > > it as a Kconfig option as proposed in this patch. People won't have a > > > clue what to set and it doesn't help at all with the single-Image effort. > > > > Ohh, I absolutely agree about the config option part JFTR. 1GB section > > loos quite excessive. I am not really sure a standard arm64 memory > > layout looks though. > > I am now looking to use Dan's patches "mm: Sub-section memory hotplug > support" to solve this problem. I think this patch can be ignored. Even if the subsection memory hotplug is going to be used then the underlying question remains. If there is no real reason to use large memsections then it would be better to use smaller ones. -- Michal Hocko SUSE Labs