Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-07 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sat, Mar 5, 2016 at 8:52 AM, Peter Zijlstra wrote: > > On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: > >> A more workable method would be to have a test .c file that includes all > >> UAPI > >>

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-07 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sat, Mar 5, 2016 at 8:52 AM, Peter Zijlstra wrote: > > On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: > >> A more workable method would be to have a test .c file that includes all > >> UAPI > >> structures in existence and defines a variable out of

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-06 Thread Linus Torvalds
On Sat, Mar 5, 2016 at 8:52 AM, Peter Zijlstra wrote: > On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: >> A more workable method would be to have a test .c file that includes all UAPI >> structures in existence and defines a variable out of every single one,

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-06 Thread Linus Torvalds
On Sat, Mar 5, 2016 at 8:52 AM, Peter Zijlstra wrote: > On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: >> A more workable method would be to have a test .c file that includes all UAPI >> structures in existence and defines a variable out of every single one, and >> then >>

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-05 Thread Peter Zijlstra
On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: > A more workable method would be to have a test .c file that includes all UAPI > structures in existence and defines a variable out of every single one, and > then > generates a list of sizeof() values or so. But even that isn't

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-05 Thread Peter Zijlstra
On Sat, Mar 05, 2016 at 02:50:06PM +0100, Ingo Molnar wrote: > A more workable method would be to have a test .c file that includes all UAPI > structures in existence and defines a variable out of every single one, and > then > generates a list of sizeof() values or so. But even that isn't

[tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-05 Thread tip-bot for Dave Hansen
Commit-ID: 49cd53bf14aeb471c4a2682300dfc05ef2fd09f2 Gitweb: http://git.kernel.org/tip/49cd53bf14aeb471c4a2682300dfc05ef2fd09f2 Author: Dave Hansen AuthorDate: Tue, 1 Mar 2016 04:54:51 -0800 Committer: Ingo Molnar CommitDate: Sat, 5 Mar

[tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-05 Thread tip-bot for Dave Hansen
Commit-ID: 49cd53bf14aeb471c4a2682300dfc05ef2fd09f2 Gitweb: http://git.kernel.org/tip/49cd53bf14aeb471c4a2682300dfc05ef2fd09f2 Author: Dave Hansen AuthorDate: Tue, 1 Mar 2016 04:54:51 -0800 Committer: Ingo Molnar CommitDate: Sat, 5 Mar 2016 15:00:06 +0100 mm/pkeys: Fix siginfo ABI

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-05 Thread Ingo Molnar
* Linus Torvalds wrote: > On Thu, Mar 3, 2016 at 8:53 AM, tip-bot for Dave Hansen > wrote: > > > > If u64 has a natural alignment of 8 bytes (this is rare, most 32-bit > > platforms align it to 4 bytes), then the leadup to the _sifields union >

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-05 Thread Ingo Molnar
* Linus Torvalds wrote: > On Thu, Mar 3, 2016 at 8:53 AM, tip-bot for Dave Hansen > wrote: > > > > If u64 has a natural alignment of 8 bytes (this is rare, most 32-bit > > platforms align it to 4 bytes), then the leadup to the _sifields union > > matters: > > Side note: I'm not sure that

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-03 Thread Linus Torvalds
On Thu, Mar 3, 2016 at 8:53 AM, tip-bot for Dave Hansen wrote: > > If u64 has a natural alignment of 8 bytes (this is rare, most 32-bit > platforms align it to 4 bytes), then the leadup to the _sifields union > matters: Side note: I'm not sure that "this is rare" comment is

Re: [tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-03 Thread Linus Torvalds
On Thu, Mar 3, 2016 at 8:53 AM, tip-bot for Dave Hansen wrote: > > If u64 has a natural alignment of 8 bytes (this is rare, most 32-bit > platforms align it to 4 bytes), then the leadup to the _sifields union > matters: Side note: I'm not sure that "this is rare" comment is necessarily correct.

[tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-03 Thread tip-bot for Dave Hansen
Commit-ID: 16bc7477807393efb5b81f875888ee9221ead3a1 Gitweb: http://git.kernel.org/tip/16bc7477807393efb5b81f875888ee9221ead3a1 Author: Dave Hansen AuthorDate: Tue, 1 Mar 2016 04:54:51 -0800 Committer: Ingo Molnar CommitDate: Thu, 3 Mar

[tip:mm/pkeys] mm/pkeys: Fix siginfo ABI breakage caused by new u64 field

2016-03-03 Thread tip-bot for Dave Hansen
Commit-ID: 16bc7477807393efb5b81f875888ee9221ead3a1 Gitweb: http://git.kernel.org/tip/16bc7477807393efb5b81f875888ee9221ead3a1 Author: Dave Hansen AuthorDate: Tue, 1 Mar 2016 04:54:51 -0800 Committer: Ingo Molnar CommitDate: Thu, 3 Mar 2016 16:44:21 +0100 mm/pkeys: Fix siginfo ABI