All of lore.kernel.org
 help / color / mirror / Atom feed
* pagetable pinning question
@ 2004-02-03 19:21 Christian Limpach
  2004-02-04  8:11 ` Ian Pratt
  2004-02-04  8:16 ` Keir Fraser
  0 siblings, 2 replies; 14+ messages in thread
From: Christian Limpach @ 2004-02-03 19:21 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-02-06  1:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-03 19:21 pagetable pinning question Christian Limpach
2004-02-04  8:11 ` 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

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.