Re: [PATCHv3 08/12] atomics: switch to generated fallbacks

2018-07-05 Thread Mark Rutland
On Thu, Jul 05, 2018 at 07:23:06PM +0200, Peter Zijlstra wrote: > On Thu, Jul 05, 2018 at 05:40:49PM +0100, Mark Rutland wrote: > > > * The fallbacks are not expected to change very often, and are not > > affected by machine details or configuration options, so regenerating > > them for *every

Re: [PATCHv3 08/12] atomics: switch to generated fallbacks

2018-07-05 Thread Peter Zijlstra
On Thu, Jul 05, 2018 at 05:40:49PM +0100, Mark Rutland wrote: > * The fallbacks are not expected to change very often, and are not > affected by machine details or configuration options, so regenerating > them for *every* build is somewhat wasteful. Except of course, your last patch in this s

[PATCHv3 08/12] atomics: switch to generated fallbacks

2018-07-05 Thread Mark Rutland
As a step to ensuring the atomic* APIs are consistent, switch to fallbacks generated by gen-atomic-fallback.sh. These are checked in rather than generated with Kbuild, since: * This allows inspection of the atomics with git grep and ctags on a pristine tree, which Linus strongly prefers being a