[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2 of 4] x86: make the pv-only e820 array be dynamic


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>, <Ian.Campbell@xxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, <Tim.Deegan@xxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Tue, 12 Apr 2011 13:32:01 +0100
  • Cc:
  • Delivery-date: Tue, 12 Apr 2011 05:33:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=eAKeGYUtWFJrzFpO534kmhE99yPIEty+kWXzLCffx6LYeFePs9I4ujWfT06pAohwXv yEuYskEQQh5eD0aIJEfFl2op+0EvQ41WRcXcgpZPMkHb+/mh+VmsmsCuw3aMkkLCow9q CTIe3vlNckhJeHpTexlFzk1mmMjEWp+96D3uM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acv5DZ8jHFBylcxFw0u/ochvvhjmwQ==
  • Thread-topic: [Xen-devel] [PATCH 2 of 4] x86: make the pv-only e820 array be dynamic

On 11/04/2011 22:35, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx> wrote:

> # HG changeset patch
> # User Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> # Date 1302295108 14400
> # Node ID e7057fec103ba69776d157d470d630ce99dbc540
> # Parent  0f279f43f41ffa8549e076f2a30f499bd8d6cc1d
> x86: make the pv-only e820 array be dynamic.
> 
> During creation of the PV domain we allocate the E820 structure to
> have the amount of E820 entries on the machine, plus the number three.

How cunning.

Why wouldn't you just allocate exactly the right size of array in
XENMEM_set_memory_map?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.