Re: [tip:locking/core] locking/atomics: Simplify the op definitions in atomic.h some more

From: Peter Zijlstra
Date: Tue May 15 2018 - 15:40:07 EST


On Tue, May 15, 2018 at 11:52:17AM -0700, Linus Torvalds wrote:
> (b) if at all possible, please aim to make "git grep" find the stuff that
> is generated?

The easiest way to make that happen is to just commit the generated
headers instead of generating them each build.

This would mean moving them to include/linux/atomic-gen-*.h or somesuch,
instead of using include/generated/.

I don't expect they'll change often anyway (famous last words).