From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Limpach Subject: pagetable pinning question Date: Tue, 3 Feb 2004 20:21:22 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <0b1b01c3ea8a$ea40fd60$070414ac@pin> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Return-path: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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