From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Satya <satyakiran@gmail.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Xeno Linux never pins L1 tables ?
Date: Tue, 16 Oct 2007 12:57:45 -0700 [thread overview]
Message-ID: <471517B9.1040102@goop.org> (raw)
In-Reply-To: <acbcf3840710160744t52246df7se931e65b4d7651e0@mail.gmail.com>
Satya wrote:
> I'm developing my own 32-bit (no PAE) paravirtualized kernel for xen
> with Mini-OS as a starting point. I am currently working on process
> page table support (equivalent of arch/i386/mm/pgtable-xen.c) and
> mostly following Linux for the moment. I noticed that linux-2.6.18-xen
> never pins an L1 table (a pte), yet __pgd_pin() walks the page
> directory and gives up write access on the kernel mappings of pte
> pages and only pins the pgd page. How do set_pte() and set_pte_at()
> macros work if they are writing directly to the page table entires ?
> do we fault in the kernel to handle this ?!
Pinning the top level of a pagetable implicitly pins all the lower
levels, so they are all pinned.
J
next prev parent reply other threads:[~2007-10-16 19:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 14:44 Xeno Linux never pins L1 tables ? Satya
2007-10-16 14:47 ` Keir Fraser
2007-10-16 15:29 ` Mark Williamson
2007-10-16 15:48 ` Satya
2007-10-16 16:10 ` Mark Williamson
2007-10-16 20:55 ` Satya
2007-10-16 19:57 ` Jeremy Fitzhardinge [this message]
2007-10-16 20:59 ` Satya
2007-10-16 21:18 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=471517B9.1040102@goop.org \
--to=jeremy@goop.org \
--cc=satyakiran@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.