summaryrefslogtreecommitdiffstats
path: root/arch/s390/lib
diff options
context:
space:
mode:
authorHeiko Carstens2013-11-19 14:25:17 +0100
committerMartin Schwidefsky2013-11-20 09:04:55 +0100
commitdba6bb60043ed73abca8990f237db63a8cea6c50 (patch)
treecdd10045cafcd15567c00faaa66bad74164aa507 /arch/s390/lib
parents390/dasd: validate request size before building CCW/TCW request (diff)
downloadkernel-qcow2-linux-dba6bb60043ed73abca8990f237db63a8cea6c50.tar.gz
kernel-qcow2-linux-dba6bb60043ed73abca8990f237db63a8cea6c50.tar.xz
kernel-qcow2-linux-dba6bb60043ed73abca8990f237db63a8cea6c50.zip
s390/mm: optimize copy_page
Always use the mvcl instruction to copy a page instead of mvpg or a couple of mvc instructions. Copying a huge page is 25% faster this way. Also bypass caches when copying pages since only parts of a page will be used afterwards. Especially when copying a huge page this would kick everything out of the L1 and L2 data caches on a zEC12 machine. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/lib')
0 files changed, 0 insertions, 0 deletions