usercopy in PPC64
Christophe LEROY
christophe.leroy at c-s.fr
Tue May 30 22:36:39 AEST 2017
Hi all powerpc64 experts,
While looking at the usercopy efficiency for PPC32, I noticed something
which looks strange.
In asm/uaccess.h, raw_copy_from_user() and raw_copy_to_user() implements
a fast path using get_user() and put_user() for copies of constant size < 8.
But INLINE_COPY_FROM_USER and INLINE_COPY_TO_USER are only defined for
PPC32, so PPC64 will call __copy_tofrom_user() even for small constant
size copies. Is that wanted ?
Regards
Christophe
More information about the Linuxppc-dev
mailing list