From: Ralf Baechle Date: Mon, 15 Oct 2007 15:30:24 +0000 (+0100) Subject: [MIPS] Fix aliasing bug in copy_user_highpage, take 2. X-Git-Tag: v2.6.24-rc1~831^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=985c30ef4d7c2a4f0e979a507a7e2f7f09b096c3;p=pandora-kernel.git [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 --- Reading git-diff-tree failed