[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070430.133749.41636290.davem@davemloft.net>
Date: Mon, 30 Apr 2007 13:37:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andi@...stfloor.org
Cc: dada1@...mosbay.com, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org
Subject: Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr
to speedup ipv6_addr_equal() & ipv6_addr_any()
From: Andi Kleen <andi@...stfloor.org>
Date: 30 Apr 2007 23:34:20 +0200
> David Miller <davem@...emloft.net> writes:
> >
> > Unfortunately, as mentioned elsewhere, we're only able to assume
> > 32-bit alignment of ipv6 packet headers and that isn't likely to
> > change any time soon.
>
> On x86 it would be fine at least -- unaligned access is cheap. I believe
> the same is true for POWER4/5/s390x. Should it be made conditional perhaps?
We have that conditional, it's callet {get,put}_unaligned() but it's
better to fix the infrastructure so that conditionalization isn't
even needed.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists