From: "Jan Beulich" Subject: Re: Re: pvclock in userland (reprise) Date: Mon, 21 Sep 2009 09:20:52 +0100 Message-ID: <4AB753840200007800015E72@vpn.id2.novell.com> References: <4AB426D9.1080309@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4AB426D9.1080309@goop.org> 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: Jeremy Fitzhardinge Cc: Jun Nakajima , Dan Magenheimer , "Xen-Devel (E-mail)" , Keir Fraser , Donald D Dugger List-Id: xen-devel@lists.xenproject.org >>> Jeremy Fitzhardinge 19.09.09 02:33 >>> >On 09/18/09 01:06, Keir Fraser wrote: >> On 18/09/2009 08:29, "Jan Beulich" wrote: >> >> =20 >>>> 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. >>>> =20 >>> Unless they sit in Xen's virtual space. >>> =20 >> Oh yes, I remember we talked about that before. That is possible, but = the >> design fell down on other points. I think guest kernel involvement, = even if >> only as a kernel driver, should make this more tractable. >> =20 > >Xen's memory isn't mappable in a 32-bit compat domain, so you'd need to >come up with something else there. Why not? >Does Xen still claim the top part of the 32-bit address space? Sure - currently just for the compat M2P table. I can't see why other things could be mapped there (the compat M2P table is at most 128M in size, hence there's plenty of virtual space available). Jan