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: pvclock in userland (reprise)

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Subject: [Xen-devel] Re: pvclock in userland (reprise)
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 18 Sep 2009 08:29:36 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>, Donald D Dugger <donald.d.dugger@xxxxxxxxx>
Delivery-date: Fri, 18 Sep 2009 00:30:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6D8469E.15100%keir.fraser@xxxxxxxxxxxxx>
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>
References: <f53b9652-8419-4a69-925c-47ea6e82fd85@default> <C6D8469E.15100%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 17.09.09 21:03 >>>
>On 17/09/2009 18:58, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
>
>> A remaining hard problem is that this single
>> "userland-accessible shared page" must be somehow
>> made available to apps (I suggested a rdmsr emulated
>> by Xen so that it works in userland) and must be
>> mapped into the app address space without kernel
>> changes.  I think someone (Keir?) suggested this
>> problem was solveable before we got sidetracked
>> on the need-vcpu-number-in-userland problem.
>
>I don't think mapping things into application address space is really
>possible without guest kernel changes. The guest kernel owns and manages the
>pte that you'd be overwriting. Just blatting the pte would not be good form.

Unless they sit in Xen's virtual space.

Jan


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