Re: NS83820 2.6.0-test5 driver seems unstable on IA64

From: David S. Miller
Date: Fri Sep 26 2003 - 23:00:21 EST


On Fri, 26 Sep 2003 10:47:12 -0700
David Mosberger <davidm@xxxxxxxxxxxxxxxxx> wrote:

> Arches that don't like/support unaligned accesses will certainly
> have a copy_user() which handles misalignment just fine. For
> example, on ia64, the copy will run slightly slower because of an
> additional shift in the loop, but that penalty only shows on fully
> cached data.

Exactly correct, and on many platforms (sparc64 happens to be one)
there is _ZERO_ performance penalty for misalignment or source or
destination buffer during a memcpy/memmove.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/