WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Xeno Linux never pins L1 tables ?

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Xeno Linux never pins L1 tables ?
From: Satya <satyakiran@xxxxxxxxx>
Date: Tue, 16 Oct 2007 09:44:24 -0500
Delivery-date: Tue, 16 Oct 2007 07:45:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=tn5Ero+gO/b0rtL9RKKtqC6ntFJHEbBaoOml2LBbaM0=; b=e7MUj5N9ljgY2yBwh756Py6CYQFkuGs+/MtG6p09uPpVpHlNeCjxnolVQ7n29AU9pEP1oKMbUJ1CMd7985PsrKpAsxTJKwFkD01eJbqymumXvdPLW9ZcBItBTmTEFzrFBeq9fyxri0aLlxPtNNYICBDNSUDBTqcitH9RAIo/lnI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=M2wcCDFnDOLjlPU9GzeeR4A+KsPQE2VLNmJ+/bV6v2T50e8V69g+TbpaD8k7AV/MBnEaTxElILy6pv/9H8v1YZ7Ct02oiowg01vlJaRbMSbMrBBHqP4cRL3dcZEzIo4QvwZwVKnLZsbHFvbKUzi8EVFpild5Vmth1K3HlxmdZXU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,
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 ?!

thanks,
satya.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel