tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unaligned access in kernel on ARMv6+ (Re: CVS commit: src/sys/dev/usb)



On Sun, Jan 06, 2019 at 05:26:36PM -0500, Christos Zoulas wrote:
> Shouldn't the compiler know how to do this right by padding around the
> structure that needs alignment and assuming the default alignment for
> the enclosing structure?

Doesn't help if malloc will just return 64bit aligned memory. Which is
likely the culprit here.

Joerg


Home | Main Index | Thread Index | Old Index