linux/arch/mips/mm
Ralf Baechle f8829caee3 [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page
The current implementation uses a sequence of a cacheflush and a copy.
This is racy in case of a multithreaded debuggee and renders GDB
virtually unusable.

Aside this fixes a performance hog rendering access to /proc/cmdline very
slow and resulting in a enough cache stalls for the 34K AP/SP programming
model to make the bare metal code on the non-Linux VPE miss RT deadlines.

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>
2006-10-21 23:17:35 +01:00
..
c-r3k.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
c-r4k.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
c-sb1.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
c-tx39.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
cache.c [MIPS] Remove __flush_icache_page 2006-10-01 23:16:58 +01:00
cerr-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cex-gen.S
cex-sb1.S
dma-coherent.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dma-ip27.c
dma-ip32.c
dma-noncoherent.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
extable.c
fault.c [PATCH] pidspace: is_init() 2006-09-29 09:18:12 -07:00
highmem.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init.c [MIPS] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
ioremap.c [MIPS] Fix iounmap argument to const volatile. 2006-10-19 17:55:14 +01:00
Makefile
pg-r4k.c
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] Fix aliasing bug in copy_to_user_page / copy_from_user_page 2006-10-21 23:17:35 +01:00
pgtable.c [MIPS] sparsemem: fix crash in show_mem 2006-07-13 21:26:22 +01:00
sc-ip22.c
sc-mips.c [MIPS] MIPS32/MIPS64 S-cache fix and cleanup 2006-06-29 21:10:54 +01:00
sc-r5k.c
sc-rm7k.c
tlb-r3k.c
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 Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00