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-ia64-devel

RE: [Xen-devel] [PATCH 2/2] balloon driver: don't useapply_to_page_range

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 2/2] balloon driver: don't useapply_to_page_range for xenLinux/ia64
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Sat, 29 Apr 2006 09:44:43 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Apr 2006 18:45:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcZqy9ANcbiMk/uNRhC3OJDIafYE0AAYmJtA
Thread-topic: [Xen-devel] [PATCH 2/2] balloon driver: don't useapply_to_page_range for xenLinux/ia64
>From: Keir Fraser
>Sent: 2006年4月28日 21:57
>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'?
>
>  -- Keir
>

Yes, that's desired way. Now IA64 scheme is pretty similar to 
auto translated x86 mode where guest page table is unchanged 
when underlying p2m mapping changed by Xen.

Thanks,
Kevin

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] [PATCH 2/2] balloon driver: don't useapply_to_page_range for xenLinux/ia64, Tian, Kevin <=