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: user/hypervisor address space solution

To: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: [Xen-devel] Re: user/hypervisor address space solution
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Tue, 14 Feb 2006 13:44:30 +1100
Cc: Dan Magenheimer <dan.magenheimer@xxxxxx>, Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Reiner Sailer <sailer@xxxxxxxxxx>
Delivery-date: Tue, 14 Feb 2006 02:56:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OFDF81495C.C5F5E46E-ON85257115.0007A58E-85257115.000D1EC7@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <OFDF81495C.C5F5E46E-ON85257115.0007A58E-85257115.000D1EC7@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2006-02-13 at 21:23 -0500, Stefan Berger wrote:
>   - force copying of all structures into arrays allocated with
> __get_free_pages() using a wrapper function (for contig. memory to
> avoid scatter-gather) 
>     function returns the physical address 

The kernel's physically-contiguous memory is not necessarily
machine-contiguous, so a scatter/gather approach would still be
required... and of course, since you need the scatter/gather logic
anyways, you might as well avoid the copy and directly reference the
original user pages.

-- 
Hollis Blanchard
IBM Linux Technology Center


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