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

[Xen-devel] Re: [PATCH] xen: Pack some hvmop memory structures better


  • To: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
  • From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
  • Date: Fri, 04 Feb 2011 17:24:20 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 04 Feb 2011 08:25:04 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Ag2P+8+LLUmgF1HCL5AmT+wFMF+Ez1X6tiQ4fyDttciqUL2HK3Voy4tahJrYR82SER 5eX0ETXCUP7mPhP7ScNrmb+jYW2IqzXRvWzAgjIDCwAHy/LlGsOraAiiFahMmAyPHFTg nTVQk5Phaf/53gNcznCn30/uQS/wjoz2M2vbg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 02/04/2011 04:28 PM, George Dunlap wrote:
Some of the hvmop memory structures have a shocking amount of unnecesssary
padding in them.  Elements which can have only 3 values are given 64 bits of
memory, and then aligned (so that there is padding behind them).

This patch resizes and reorganizes in the following way, (hopefully) without
introducing any differences between the layout for 32- and 64-bit.

Am I missing something glaring, or this is breaking the ABI between hypervisor and kernels?

Paolo

_______________________________________________
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®.