commit | dba6bb60043ed73abca8990f237db63a8cea6c50 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Tue Nov 19 14:25:17 2013 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Nov 20 09:04:55 2013 +0100 |
tree | cdd10045cafcd15567c00faaa66bad74164aa507 | |
parent | 26a35f373fbe6f21e8ad5ca4de1c01021e38fe2f [diff] |
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>