Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754702Ab1BHO5Z (ORCPT ); Tue, 8 Feb 2011 09:57:25 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:31959 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752727Ab1BHO5Y (ORCPT >); Tue, 8 Feb 2011 09:57:24 -0500 Date: Tue, 8 Feb 2011 09:55:51 -0500 From: Konrad Rzeszutek Wilk To: Yinghai Lu Cc: Jeremy Fitzhardinge , Stefano Stabellini , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "x86@kernel.org" , Jan Beulich Subject: Re: [PATCH] x86/mm/init: respect memblock reserved regions when destroying mappings Message-ID: <20110208145551.GA4606@dumpdata.com> References: <4D4E4E0D.2080806@zytor.com> <4D4EF553.6000000@kernel.org> <4D50343E.1020906@kernel.org> <4D504161.2060900@kernel.org> <4D506A85.9030802@goop.org> <4D50B4B5.4050505@kernel.org> <4D50CCFA.1040004@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4D515989.006C:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 21 > >> could be used to skip clear highmap for xen path? > > > > Seems pretty ad-hoc. > > > > then what is size for mfn-list after _end... 8 bytes * nr_pages. For 4GB, 2048 pages. For 32GB, 8192 pages. For 128GB, 32768 pages, and so on. > > could be copied or move to BRK. The _brk size is determined during build-time. We don't know what the memory size will be during bootup time and would have to select the highest values (128MB) which is quite a large amount to be reserved in _brk area. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/