On Fri, 2012-10-12 at 16:48 +0200, Eric Dumazet wrote:
On Fri, 2012-10-12 at 10:22 -0400, Benjamin LaHaise wrote:
quoted
On Fri, Oct 12, 2012 at 02:08:12PM +0200, Eric Dumazet wrote:
quoted
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.