diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-15 15:30:24 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-16 17:23:49 (GMT) |
commit | 985c30ef4d7c2a4f0e979a507a7e2f7f09b096c3 (patch) | |
tree | 8f5a447adaa49b6efb7485e8b69b2743eca3ee4b /arch/mips/mm/c-r4k.c | |
parent | 736fad17b89e5e718908abb76ae9bce210a9d5d4 (diff) | |
download | linux-fsl-qoriq-985c30ef4d7c2a4f0e979a507a7e2f7f09b096c3.tar.xz |
[MIPS] Fix aliasing bug in copy_user_highpage, take 2.
Turns out b868868ae0f7272228c95cc760338ffe35bb739d wasn't quite right.
When called for a page that isn't marked dirty it would artificially
create an alias instead of doing the obvious thing and access the page
via KSEG0.
The same issue also exists in copy_to_user_page and copy_from_user_page
which was causing the machine to die under rare circumstances for example
when running ps if the BUG_ON() assertion added by the earlier fix was
getting triggered.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
0 files changed, 0 insertions, 0 deletions