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: Derek.Murray@xxxxxxxxxxxx
Subject: Re: [Xen-devel] Sharing Memory between userspace of dom0 and userspace of domU
From: "Mike Sun" <msun@xxxxxxxxxx>
Date: Tue, 19 Feb 2008 11:16:49 -0500
Cc: Kareem Dana <kareem.dana@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 19 Feb 2008 08:17:17 -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=BUgD3MEHxYOegnl/LL2QhQGmBsKb+VtHw9cGSSPysqD/w2UzzL44lHDVg/xOkEpxB3ZjjmwrH9RP5bM6OU6sNFa0amaEpgDG7w67Dx0idzuHwuhgx/3QCQ9DnT9lI9CYZeIW1BgAt64MLvwsKuBgzyPtBtkpY8wmsKp4stnDTmU=
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=gV/jsbl2miOMyit9XsS7TSCcI0BiR/pxMRQSkl1dqsG9LR7A878o+J/Chaf40m8X5MuEn1Jxy9Rc4PuRymBkYT1xYeTA9dF3sKjhIHTCbXzZlkkhTQHqdZovuGXvCoBYxVgEDQA/QtfTCE86kJb0CNAjUKFhdv2HD5pqY+6i+AQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <617dbaa80802180158g7207a21eg5688bbf927434cbb@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>
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