From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Xeno Linux never pins L1 tables ? Date: Tue, 16 Oct 2007 14:18:00 -0700 Message-ID: <47152A88.4080401@goop.org> References: <471517B9.1040102@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Satya Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org Satya wrote: > Wonder what happens if an L1 page is created *after* a PGD is pinned ? > I think I have to explicitly pin the L1 page then? or unlikely( does > Xen pin it when I map into into the pinned PGD using a hypercall ) When you update the L2 entry to point to the L1, Xen checks to make sure the L1 page is all OK (read-only, valid contents), then pins it to the rest of the pagetable. J