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] [PATCH: IOEMU & XEN] Change ioreq layout and reduce its size

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH: IOEMU & XEN] Change ioreq layout and reduce its size
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 29 Oct 2009 12:26:16 +0000
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 29 Oct 2009 05:27:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpYkwKRYYkSzUNFTkGlvHQ1Ndgxkw==
Thread-topic: [PATCH: IOEMU & XEN] Change ioreq layout and reduce its size
User-agent: Microsoft-Entourage/12.20.0.090605
[Ian, please apply the attached ioemu patch and then send me an updated
QEMU_TAG. The change to the ioreq layout requires the ioemu and xen-unstable
patch check-ins to be closely synchronised.]

Reduce size of Xen-qemu shared ioreq structure to 32 bytes. This has two
advantages:
 1. We can support up to 128 VCPUs with a single shared page
 2. If/when we want to go beyond 128 VCPUs, a whole number of ioreq_t
structures will pack into a single shared page, so a multi-page array will
have no ioreq_t straddling a page boundary

Also, while modifying qemu, replace a 32-entry vcpu-indexed array with a
dynamically-allocated array.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>

Attachment: 00-xen-ioreq-layout
Description: Binary data

Attachment: 00-ioemu-ioreq-layout
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>