Well, it's an architecture thing, I suppose. Unaligned access traps are
pretty expensive on the parisc, so we don't actually handle them when
they're from the kernel, we panic instead (and expect the problem code
to be fixed).
In this case, our rather crappy kernel tool chain gcc generated the
instruction
ldd 52(%r1),%r4
Which is actually illegal assembly (displacements greater than 16 must
be multiples of 8 for the load double word instruction). So I couldn't
even compile the code.
> If that isn't happening, lots of things in the networking should
> break on you.
If the gcc is told that the structure won't be aligned, it generates
non-alignment faulting instructions to access it, so no, we don't see
any misalignment faults in the networking layer.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/