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

Re: [Xen-devel] Double mapping of iomem assertion

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Double mapping of iomem assertion
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 18 Oct 2007 15:40:42 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Oct 2007 07:41:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1192716910.4147.34.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Thread-index: AcgRlNvEGmQhcX2IEdyp5QAX8io7RQ==
Thread-topic: [Xen-devel] Double mapping of iomem assertion
User-agent: Microsoft-Entourage/11.3.6.070618
On 18/10/07 15:15, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> It looks to me like neither _PAGE_PRESENT nor _PAGE_PSE is set.  Any
> advice about why this might be and how to fix this would be gratefully
> received.

Vmalloc area pagetables are demand mapped into per-process pgdirs. So it's
invalid for vunmap_pte_range() to be relying solely on update_va_mapping().
Either it should use some other method, or at least have some other method
as a fallback.

This is easily fixed. I guess I'll audit other uses of update_va_mapping()
at the same time.

 -- Keir



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