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

From: Peter Zijlstra
Date: Mon Nov 26 2018 - 03:46:29 EST


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?