summaryrefslogtreecommitdiff
path: root/include/asm-alpha/mman.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-22 02:17:35 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-10-22 02:17:35 +0400
commitf8829caee311207afbc882794bdc5aa0db5caf33 (patch)
treedbadd9fa746a1a4f091bc7e240ca8d787188a913 /include/asm-alpha/mman.h
parent224dc50ece1b40f8cff5ecadd42a6b2691e231de (diff)
downloadlinux-f8829caee311207afbc882794bdc5aa0db5caf33.tar.xz
[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>
Diffstat (limited to 'include/asm-alpha/mman.h')
0 files changed, 0 insertions, 0 deletions