Thread (3 messages) 3 messages, 3 authors, 2017-01-11

Re: x86-64: Maintain 16-byte stack alignment

From: Ard Biesheuvel <hidden>
Date: 2017-01-11 08:07:33
Also in: lkml

On 11 January 2017 at 06:53, Linus Torvalds
[off-list ref] wrote:

On Jan 10, 2017 8:36 PM, "Herbert Xu" [off-list ref] wrote:


Sure we can ban the use of attribute aligned on stacks.  But
what about indirect uses through structures?


It should be pretty trivial to add a sparse warning for that, though.
Couldn't we update the __aligned(x) macro to emit 32 if arch == x86
and x == 16? All other cases should work just fine afaict
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help