]> git.karo-electronics.de Git - linux-beck.git/commit
sh: __copy_user() optimizations for small copies.
authorStuart Menefy <stuart.menefy@st.com>
Fri, 28 Sep 2007 03:36:35 +0000 (12:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 28 Sep 2007 03:36:35 +0000 (12:36 +0900)
commit023ef184fff6ac2e7cba345708f35536a2a419cb
treec80cc81eeb473a214fee0d2a0e952448071cf154
parent24eb17e0813490497f4d5b2fad218bdba402cece
sh: __copy_user() optimizations for small copies.

This implements a fast-path for small (less than 12 bytes) copies,
with the existing path treated as the slow-path and left as the default
behaviour for all other copy sizes.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/copy_page.S