From: "Mike Sun" Subject: Re: Sharing Memory between userspace of dom0 and userspace of domU Date: Tue, 19 Feb 2008 11:16:16 -0500 Message-ID: References: <3bb76bfe0802171554y34d668c9n48adb00a57cd799b@mail.gmail.com> <617dbaa80802180158g7207a21eg5688bbf927434cbb@mail.gmail.com> <3bb76bfe0802190803v32fbe70dp8c6910293c9a2787@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3bb76bfe0802190803v32fbe70dp8c6910293c9a2787@mail.gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kareem Dana Cc: Derek.Murray@cl.cam.ac.uk, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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