Re: [PATCH] locking/atomics: build atomic headers as required

Peter Zijlstra
2018-11-26T08:46:29Z

On Fri, Nov 23, 2018 at 03:33:21PM +0000, Mark Rutland wrote:
> Andrew and Ingo report that the check-atomics.sh script is simply too
> slow to run for every kernel build, and it's impractical to make it
> faster without rewriting it in something other than shell.
>
> Rather than committing the generated headers, let's regenerate these
> as-required for a pristine tree.

Thing is, I '_never_' have a pristine tree. Now, I would also be in a
position to know if something with the atomics changed, but that can't
help other people that never use pristine trees.

Could we perhaps get an explicit 'genatomics' target or something to
check/force-update this stuff?