Re: [PATCH] mm/debug: add a cast to u64 for atomic64_read()
From: Peter Zijlstra
Date: Wed Mar 13 2019 - 10:21:52 EST
On Wed, Mar 13, 2019 at 02:46:55PM +0100, Arnd Bergmann wrote:
> I thiunk it needs an '__attribute__((aligned(8)))' annotation at least on
> x86-32,
I _hate_ that s64 isn't already natively aligned.
Anyway, yes, unaligned atomics are a _bad_ idea if they work at all.