[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/2] balloon driver: don't use apply_to_page_range for xenLinux/ia64



On Fri, Apr 28, 2006 at 02:57:17PM +0100, Keir Fraser wrote:
> 
> On 28 Apr 2006, at 10:14, Isaku Yamahata wrote:
> 
> >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.
> 
> Okay, but the ia64 ifdefs are unfortunate. Your new scheme will work 
> for x86 autotranslated guests too (I'm pretty sure). How about we pick 
> between the two schemes based on the autotranslate feature flag rather 
> than 'ifdef ia64'?

I attached the updated patch.
I only tested on xen/ia64.

-- 
yamahata

Attachment: 9890:6c2ab5cfca56.patch
Description: Text document

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.