From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 2/6] Change the boot allocator function to support memory add Date: Sun, 28 Jun 2009 14:43:40 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jiang, Yunhong" , Jan Beulich , Tim Deegan , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 28/06/2009 14:24, "Jiang, Yunhong" wrote: >> The undelrying implementation ideas may be okay, but calling these >> extensions to the 'boot allocator' makes no sense. The boot >> allocator only >> exists during boot. The fact that the bitmap it uses persists >> beyond boot is >> an implementation detail. Perhaps you just need to change the > > So can I understand the allocator bitmap (i.e. those for map_free/map_call) as > something not just about boot allocator, but for generic bitmap to remember > the page allocation status? > Maybe we can just using one bit in page_info to indicate if page is allocated > in future? I think the PGC_ flags could be extended to do this, yes. Maybe I will look into that. -- Keir