linux/arch/mips/mm
Atsushi Nemoto bcd022801e [PATCH] MIPS: Fix COW D-cache aliasing on fork
Provide a custom copy_user_highpage() to deal with aliasing issues on
MIPS.  It uses kmap_coherent() to map an user page for kernel with same
color.  Rewrite copy_to_user_page() and copy_from_user_page() with the
new interfaces to avoid extra cache flushing.

The main part of this patch was originally written by Ralf Baechle;
Atushi Nemoto did the the debugging.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-13 09:27:08 -08:00
..
c-r3k.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
c-r4k.c [MIPS] Avoid dupliate D-cache flush on R400C / R4400 SC and MC variants. 2006-11-30 01:14:48 +00:00
c-sb1.c [MIPS] Hack for SB1 cache issues 2006-11-22 23:34:01 +00:00
c-tx39.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
cache.c [MIPS] Export local_flush_data_cache_page for sake of IDE. 2006-12-10 21:52:11 +00:00
cerr-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cex-gen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cex-sb1.S [MIPS] Sibyte: #if CONFIG_* doesn't fly. 2006-02-21 16:58:23 +00:00
dma-coherent.c [PATCH] Pass struct dev pointer to dma_cache_sync() 2006-12-07 08:39:41 -08:00
dma-ip27.c [PATCH] Pass struct dev pointer to dma_cache_sync() 2006-12-07 08:39:41 -08:00
dma-ip32.c [PATCH] Pass struct dev pointer to dma_cache_sync() 2006-12-07 08:39:41 -08:00
dma-noncoherent.c [PATCH] Pass struct dev pointer to dma_cache_sync() 2006-12-07 08:39:41 -08:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
highmem.c [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
init.c [PATCH] MIPS: Fix COW D-cache aliasing on fork 2006-12-13 09:27:08 -08:00
ioremap.c [PATCH] Generic ioremap_page_range: mips conversion 2006-12-08 08:28:52 -08:00
Makefile [MIPS] MIPS32/MIPS64 secondary cache management 2006-06-29 21:10:52 +01:00
pg-r4k.c [MIPS] 16K & 64K page size fixes 2006-11-01 17:46:09 +00:00
pg-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pgtable-32.c [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
pgtable-64.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
pgtable.c [MIPS] sparsemem: fix crash in show_mem 2006-07-13 21:26:22 +01:00
sc-ip22.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sc-mips.c [MIPS] MIPS32/MIPS64 S-cache fix and cleanup 2006-06-29 21:10:54 +01:00
sc-r5k.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sc-rm7k.c [MIPS] Use __ffs() instead of ffs() for waybit calculation. 2006-04-19 04:14:30 +02:00
tlb-r3k.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb-r4k.c [MIPS] Replace BARRIER with more appropriate hazard barrier. 2006-09-27 13:37:54 +01:00
tlb-r8k.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tlbex-fault.S [MIPS] Stacktrace build-fix and improvement 2006-10-01 23:16:58 +01:00
tlbex.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00