From: "Jacob Gorm Hansen" Subject: Re: XENFEAT_writable_pagetables vs VMASST_TYPE_writable_pagetables Date: Thu, 1 Jun 2006 09:42:51 +0200 Message-ID: References: <8e5c0a72f56dc3168831c47cbbf0a216@cl.cam.ac.uk> <0575028a60acc51ed3711e1be664f62b@cl.cam.ac.uk> <2fa2245a8dcd271bedf578ff29b5681d@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2fa2245a8dcd271bedf578ff29b5681d@cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 5/31/06, Keir Fraser wrote: > This doesn't look like the result of a pmd_clear() call. Looks like a > L2 (pgd) is being allocated -- perhaps due to pinning or changing %cr3. > It's failing because one of the L1 pages it references is writable by > the guest (ie. the guest has a writable mapping of that L1 page > somewhere). Hmm it _does_ happen on pmd_clear (which is a macro that turns into a xen mmu update call). The funny thing is how giving val=0 can end up as an alloc_l2_page. Jacob