Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* Written 2003 by Andi Kleen, based on a kernel by Evandro Menezes */ |
2 | |||||
3 | /* Don't use streaming store because it's better when the target | ||||
4 | ends up in cache. */ | ||||
5 | |||||
6 | /* Could vary the prefetch distance based on SMP/UP */ | ||||
7 | |||||
8 | .globl copy_page | ||||
9 | .p2align 4 | ||||
10 | copy_page: | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | movl $4096/8,%ecx |
12 | rep | ||||
13 | movsq | ||||
14 | ret |