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

Re: [Xen-devel] Sharing Memory between userspace of dom0 and userspace o

To: "Kareem Dana" <kareem.dana@xxxxxxxxx>
Subject: Re: [Xen-devel] Sharing Memory between userspace of dom0 and userspace of domU
From: "Mike Sun" <msun@xxxxxxxxxxxx>
Date: Tue, 19 Feb 2008 11:16:16 -0500
Cc: Derek.Murray@xxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Feb 2008 07:25:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=PV0soHm5k0wJIvHpvXEe01WoqFlBOIKcU0n+t2C3dS8=; b=nUa1kuhL8IO5KE/dqbjjwyF90yY5gz144+WWEeEozSGq66BXcAIA5zlOPQffEz7D6JS1d/xM3gnGAcP+kYA0TyrAe7pt+jhh7Hr/imCLTXVg1oI/RsDwQZxXi8FxAMZ4j6wrdnqBhObUC+zuqgnx4QHPw4ClHMQjs7uxMNlcmcg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=b0KSrqOO0GnBJIX1x68tQYsZhMgNgGd7kq644QDd0EcEx1EWK6X/XWp/RVpD2b2eIPk77PsdehMCupC7O706BJPet/v2pP+WaS9fcULUrpfEBuA4eVjBnHBiaBopTSLZxh9SwhnVoIl+M9Q8vv7qmBvQVMC9qn+/pyzuOPFdB0I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <3bb76bfe0802190803v32fbe70dp8c6910293c9a2787@xxxxxxxxxxxxxx>
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>
References: <3bb76bfe0802171554y34d668c9n48adb00a57cd799b@xxxxxxxxxxxxxx> <617dbaa80802180158g7207a21eg5688bbf927434cbb@xxxxxxxxxxxxxx> <3bb76bfe0802190803v32fbe70dp8c6910293c9a2787@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi --

> > At the moment, yes, the only way to grant access to a page is from the
> > kernel. This is due to the fact that kernel memory corresponds to
> > physical memory, and we don't have to worry about interactions with
> > the swapper, or what happens when the process dies.

>From what I understand of what you've said, are you saying that the
shared memory pages that granted access must always be in physical
memory and cannot be swapped out, even if the guest kernel decided to
for some reason?  Does Xen enforce this in any way, e.g. pinning the
pages somehow?

Thanks,
Mike

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