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

Re: [Xen-devel] Setting up page directories and tables


  • To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxxxxxxx>
  • From: "Dave Pacheco" <dap@xxxxxxxxxxxx>
  • Date: Tue, 1 May 2007 15:32:56 -0400
  • Cc: Joel Weinberger <joel@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 01 May 2007 12:31:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=JeqSLzQh+shP41odc53bLBiBgh0OpZypnQzWfGA/7dlXlgdqDOj+I6gcuyg/ot8cQskoH78vik6m9iiJhzqyNL5gv5i91to/iTx4nulHjXc1f6zSpYlYxptEpWWnl4aqcydPLmYNn5LXXJvVtZJGvFYiWcs5LTTmMJ0SneibmQI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 4/27/07, Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx> wrote:
I see from your description that you're pinning L1 pages.  That's
generally not how Xen linux kernels do it these days; they just pin the
whole pagetable from L2 down (in your non-PAE case).  Since pinning from
top-down is the same as loading cr3 from a validity-checking
perspective, it's useful to see if Xen likes your pagetables without
actually trashing them (if you load a bad cr3, you end up in limbo with
no useful pagetables, and Xen can't even print a useful stack backtrace
as it destroys your domain).

I don't really understand what you mean here. To "pin the whole pagetable from L2 down" - does that mean pinning the L2 pagetable page itself and then all of the L1 pages, or just the L2 pagetable page?

What exactly does pinning do? Does it simply ensure that the page won't be paged out and that Xen knows it's a page table? If that's the case, it seems like you still want to pin L1 pages so that you know that Xen is okay with your L1 page table.

Thanks,
Dave
_______________________________________________
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®.