linux/arch/sh/include
Stuart Menefy 39ac11c160 sh: Improve performance of SH4 versions of copy/clear_user_highpage
The previous implementation of clear_user_highpage and copy_user_highpage
checked to see if there was a D-cache aliasing issue between the user
and kernel mappings of a page, but if there was they always did a
flush with writeback on the dirtied kernel alias.

However as we now have the ability to map a page into kernel space
with the same cache colour as the user mapping, there is no need to
write back this data.

Currently we also invalidate the kernel alias as a precaution, however
I'm not sure if this is actually required.

Also correct the definition of FIX_CMAP_END so that the mappings created
by kmap_coherent() are actually at the correct colour.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-11-24 17:13:35 +09:00
..
asm sh: Improve performance of SH4 versions of copy/clear_user_highpage 2009-11-24 17:13:35 +09:00
cpu-common/cpu
cpu-sh2/cpu
cpu-sh2a/cpu
cpu-sh3/cpu
cpu-sh4/cpu sh: fix watchdog timer for sh7780/sh7785 2009-10-27 07:34:29 +09:00
cpu-sh5/cpu
mach-common/mach
mach-dreamcast/mach
mach-ecovec24/mach
mach-kfr2r09/mach
mach-landisk/mach
mach-migor/mach
mach-se/mach sh: mach-se: Convert SE7722 FPGA to dynamic IRQ allocation. 2009-11-04 11:44:21 +09:00
mach-sh03/mach