WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] xen: Pack some hvmop memory structures better
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=VixybOK3Uau3veRaWIwENhnfTZGMmt+0YtyAx11d42c=; b=yAoPobvmxsIH1wqrcdgYVf6H5dMfIjgV4pW5J8tiSI9PovO0yhPbnk35szwKr8vI2F i+jXmv9UT62yFMuc0eU0WGkQ5NKQRtt874JHx36wJupVnK1deLjL/txdqCILJXPBJ41d vSw0cMYuj7tCChTNU4hRi30p+LNWjXsFD96sM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dffa1a0edc8c6e2aa879.1296833298@elijah>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <dffa1a0edc8c6e2aa879.1296833298@elijah>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
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