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-merge

Re: [Xen-merge] arch/i386/mach-xen/mm/highmem.c indentical

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-merge] arch/i386/mach-xen/mm/highmem.c indentical
From: Chris Wright <chrisw@xxxxxxxx>
Date: Tue, 9 Aug 2005 09:17:15 -0700
Cc: xen-merge <xen-merge@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 09 Aug 2005 16:15:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D282A18@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-merge-request@lists.xensource.com?subject=help>
List-id: xen-merge <xen-merge.lists.xensource.com>
List-post: <mailto:xen-merge@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D282A18@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-merge-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
* Ian Pratt (m+Ian.Pratt@xxxxxxxxxxxx) wrote:
>  
> > arch/i386/mach-xen/mm/highmem.c is another one to remove it seems?
> 
> I've actually got a patch sitting in my tree that touches this file, and
> is important for making kmap (>900MB) work well on Xen. I haven't
> checked it in because I don't totally like the approach of introducing
> "kset_pte_at", though we clearly need something checked in because it's
> a huge win on some benchmarks.

Also, highmem aren't identical, there was a preceding patch which did
that.  The subarch is functional, but does have redundant bits in it.
I've since removed highmem.  I'd avoid kset_* since it'll look like kset
handling (as in kobject and sysfs).  I didn't look closely yet, but what
cases would you not want this redifintion of set_pte_at?  IOW, could
set_pte_at just be provided by Xen subarch?

> The extra optimization in highmem.c is to fold the flush into the
> update_va_mapping (which is quite a bit faster than set_pte).

OK, that just says we need an arch specific callout during kmap_atomic.
I've already patches that one anyway.

thanks,
-chris

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