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] [PATCH 2/2] balloon driver: don't use apply_to_page_rang

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2/2] balloon driver: don't use apply_to_page_range for xenLinux/ia64
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 28 Apr 2006 18:14:51 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Apr 2006 02:15:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f60e10031e11dc9a6b4fdc444df11462@xxxxxxxxxxxx>
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>
References: <20060428063238.GA23662%yamahata@xxxxxxxxxxxxx> <f60e10031e11dc9a6b4fdc444df11462@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Fri, Apr 28, 2006 at 08:00:30AM +0100, Keir Fraser wrote:

> The existing code should work on ia64, right? It's not performance  
> critical code.

Unfortunately no.
Roughly init_mm is only used to map vmalloc area on Linux/ia64.
init_mm of Linux/ia64 doesn't map the area of [PAGE_OFFSET, ...].
Traversing init_mm with a virtual address of the area
gives a zero-filled pte entry.
It also populates unnecessary pud/pmd/pte pages.

Linux/ia64 resolves faults on the area [PAGE_OFFSET, ...]
by tlb insert without init_mm traverse after checking
faulted virtual address and its privilege.

-- 
yamahata

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