[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160921171222.GA18327@ast-mbp.thefacebook.com>
Date: Wed, 21 Sep 2016 10:12:24 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Hannes Frederic Sowa <hannes@...essinduktion.org>,
Sowmini Varadhan <sowmini.varadhan@...cle.com>,
netdev@...r.kernel.org, jbenc@...hat.com, davem@...emloft.net
Subject: Re: [PATCH net-next V2] net/vxlan: Avoid unaligned access in
vxlan_build_skb()
On Wed, Sep 21, 2016 at 09:53:31AM -0700, Eric Dumazet wrote:
> On Wed, 2016-09-21 at 09:14 -0700, Alexei Starovoitov wrote:
>
> >
> > I think it's the opposite. Even on x86 compiler will use byte loads.
>
> Unless you tweaked gcc, it should still use word loads on x86.
> checked that on x86-64 actually. Also clearly visible here:
ahh. ok. good to know. thanks guys!
Powered by blists - more mailing lists