Re: Caches, page coloring, virtual indexed caches, and more

From: Anton Blanchard (anton@linuxcare.com.au)
Date: Tue Jan 16 2001 - 23:43:01 EST


Hi,
 
> Where do you do this? And how do you handle the case of aliases with kseg,
> the giant kernel mapping.

Aliases between user and kernel mappings of a page are handled by
flush_page_to_ram the old interface) or {copy,clear}_user_page,
flush_dcache_page and update_mmu_cache (new interface). Sparc64 already
uses the new interface and there are patches for ppc and ia64 to use it.

The new interface allows flushes to be avoided, leading to rather nice
performance increases.

See Documentation/cachetlb.txt for more info.

Cheers,
Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:14 EST