Re: [PATCH 24/26] locking/atomic: scripts: generate kerneldoc comments

From: Peter Zijlstra
Date: Wed May 24 2023 - 10:17:30 EST


On Mon, May 22, 2023 at 01:24:27PM +0100, Mark Rutland wrote:
> include/linux/atomic/atomic-arch-fallback.h | 1848 +++++++++++-
> include/linux/atomic/atomic-instrumented.h | 2771 +++++++++++++++++-
> include/linux/atomic/atomic-long.h | 925 +++++-

> 29 files changed, 5940 insertions(+), 7 deletions(-)

So my biggest concern with all this is 5k+ lines of comments that GCC
has to read and discard over and over and over.

I'll see if I can measure a difference in compile time before and after
this here patch.