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
..
2006-10-01 23:16:58 +01:00
2006-10-01 23:16:58 +01:00
2006-10-01 23:16:58 +01:00
2006-10-01 23:16:58 +01:00
2006-10-01 23:16:58 +01:00
2005-04-16 15:20:36 -07:00
2005-10-28 08:16:48 -07:00
2006-03-24 07:33:24 -08:00
2005-04-16 15:20:36 -07:00
2006-09-29 09:18:12 -07:00
2006-06-01 00:28:35 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-03 22:21:02 +02:00