s390/mm: optimize copy_page
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 19 Nov 2013 13:25:17 +0000 (14:25 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 20 Nov 2013 08:04:55 +0000 (09:04 +0100)
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>

No differences found