[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] disable writable pagetables on FreeBSD


  • To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • From: Kip Macy <kip.macy@xxxxxxxxx>
  • Date: Sat, 30 Apr 2005 08:12:46 -0700
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 30 Apr 2005 15:12:27 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bt+IczcE7ieifBbI3bo9zWK/5MwOOqNBNUDjh7meEmpTxPjvoBTvypmhzhgR6ZuYjy/GibUHr12ONqR4FfdaQD2BOHLO8XLA07T43IyIF/H3lLwclf4hcTgnxWFm1yMoTwVOXfkgnhGBjujoNWItneC432ca1nuhdVoFbZcMlB0=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 4/30/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> 
> On 30 Apr 2005, at 03:30, Kip Macy wrote:
> 
> > Presumably as a result of recent changes, FreeBSD no longer works with
> > writable page tables. In the short-term I'm more interested in
> > functionality than performance. This patch disables them and fixes a
> > compile issue.
> 
> The obvious change is we reenabled batched wrpt mode. This requires the
> guest to deal with reading page directory entries that have the present
> bit (bit 0) cleared, even though that entry is logically present. :-)
> 
> You may hav eforgotten to handle this, since it was not required all
> the while we were using emulation mode only.

Entirely possible. There is only one place in the machine-independent
code where we check for it. Removing it there doesn't help. It may
require changing the machine-dependent code (I hope not, I'd rather it
be a bug in my port or in xen).

                 -Kip

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.