Thread (10 messages) 10 messages, 6 authors, 2012-10-12

Re: alignment faults in 3.6

flat view

From: Eric Dumazet <hidden>
Date: 2012-10-12 14:48:20
Also in: linux-arm-kernel

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:
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 ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help