From: Atsushi Nemoto Date: Tue, 12 Dec 2006 17:14:56 +0000 (+0000) Subject: [PATCH] MIPS: Fix COW D-cache aliasing on fork X-Git-Tag: v2.6.20-rc1~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd022801ee514e28c32837f0b3ce18c775f1a7b;p=pandora-kernel.git [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 Signed-off-by: Ralf Baechle Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed