Re: NS83820 2.6.0-test5 driver seems unstable on IA64

From: David S. Miller
Date: Tue Sep 23 2003 - 18:39:57 EST


On Tue, 23 Sep 2003 16:15:29 -0700
Andrew Morton <akpm@xxxxxxxx> wrote:

> "David S. Miller" <davem@xxxxxxxxxx> wrote:
> >
> > > That's not true; they could be avoided by using get_unaligned() and
> > > put_unaligned(). You just don't want to because they'd make sparc suck.
> >
> > Not only sparc would be effected by this. Using {get,put}_unaligned()
> > all over the networking would incur a penalty for many platforms, not
> > just sparc.
>
> Really? I'd have thought that get/put_unaligned would be a simple
> load/store for architectures which wish to implement it in that manner.

Only on systems that have the "load upper/lower-unaligned"
instructions. On others it's a 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/