[PATCH] [3/4] PPC64: PAGE_SIZE constants in copyuser.S and copypage.S
Paul Mackerras
paulus at samba.org
Wed Aug 10 18:24:09 EST 2005
Olof Johansson writes:
> Replace some of the hardcoded constants in copypage and copyuser to
> be based on PAGE_SIZE. Also change the assembly where needed to deal
> with larger values of PAGE_SIZE.
The bulk copy routine in __copy_tofrom_user was designed for doing
4096 bytes at a time on cacheline-aligned sources and destinations.
We should extend it to do any multiple of 4096 bytes, I think.
Regards,
Paul.
More information about the Linuxppc64-dev
mailing list