All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Limpach <chris@pin.lu>
To: xen-devel@lists.sourceforge.net
Subject: pagetable pinning question
Date: Tue, 3 Feb 2004 20:21:22 +0100	[thread overview]
Message-ID: <0b1b01c3ea8a$ea40fd60$070414ac@pin> (raw)

Hi!

I want to use pinning for the L1/L2 pagetables.  The currently activated
pagetable maps itself and that works great.  But I (or rather whoever wrote
the pagetable code) also wants to map inactive pagetables and this doesn't
work because of the following check in get_twisted_l2_table:
    if ( (l2v >> PAGE_SHIFT) != entry_pfn )
    {
        MEM_LOG("L2 tables may not map _other_ L2 tables!\n");

Are there counting or protection issues why this is disallowed or was it
just not needed for Linux/Windows?

I guess a work around would be to switch to the inactive pagetable and
switch back when the mapping is no longer needed...

    christian



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

             reply	other threads:[~2004-02-03 19:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-03 19:21 Christian Limpach [this message]
2004-02-04  8:11 ` pagetable pinning question Ian Pratt
2004-02-04 14:43   ` Christian Limpach
2004-02-04  8:16 ` Keir Fraser
2004-02-04  8:21   ` Keir Fraser
2004-02-04 16:29     ` Bin Ren
2004-02-06  1:28       ` Zachary Amsden
2004-02-06  1:43         ` Bin Ren
2004-02-04 14:44   ` Christian Limpach
2004-02-04 17:17     ` Keir Fraser
2004-02-04 22:19       ` Christian Limpach
2004-02-04 23:06         ` Ian Pratt
2004-02-05 14:35         ` Keir Fraser
2004-02-05 15:25           ` Keir Fraser

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='0b1b01c3ea8a$ea40fd60$070414ac@pin' \
    --to=chris@pin.lu \
    --cc=xen-devel@lists.sourceforge.net \
    /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.