__copy_tofrom_user fails on unaligned read faults

Dale Farnsworth Dale.Farnsworth at mvista.com
Fri Nov 22 09:12:41 EST 2002

On Thu, Nov 21, 2002 at 05:07:32PM -0500, Dan Malek wrote:
> Dale Farnsworth wrote:
> >For performance reasons, __copy_tofrom_user copies
> >data in 16-bytes chunks.  If a read fault occurs in the
> >middle of one of these chunks,
> How do you get a read fault in the middle of a 16-byte
> aligned data copy?

The 16-byte copy is aligned on the destination address.
It is unaligned with respect to the source address.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list