[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1350054254.2819.3.camel@bwh-desktop.uk.solarflarecom.com>
Date: Fri, 12 Oct 2012 16:04:14 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: Benjamin LaHaise <bcrl@...ck.org>,
Russell King - ARM Linux <linux@....linux.org.uk>,
Måns Rullgård <mans@...sr.com>,
Arnd Bergmann <arnd@...db.de>,
<linux-arm-kernel@...ts.infradead.org>,
David Laight <David.Laight@...lab.com>,
<netdev@...r.kernel.org>, Jon Masters <jonathan@...masters.org>
Subject: Re: alignment faults in 3.6
On Fri, 2012-10-12 at 16:48 +0200, Eric Dumazet wrote:
> On Fri, 2012-10-12 at 10:22 -0400, Benjamin LaHaise wrote:
> > On Fri, Oct 12, 2012 at 02:08:12PM +0200, Eric Dumazet wrote:
> > > So yes, we built network stack with the prereq that IP headers are
> > > aligned, but unfortunately many developers use x86 which doesnt care, so
> > > its possible some bugs are added.
> >
> > x86 does have an alignment check flag that can be set in the flags register.
> > Somehow, I doubt anyone would be willing to walk through all the noise the
> > faults would likely trigger.
>
> If this can be mapped to an event that can be used by perf tool, that
> might be useful ?
AC was so useless that it has now been reallocated to use by SMAP
<https://lwn.net/Articles/517251/>.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
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