Re: [patch 5/9] x86: Cure per CPU madness on UP

From: Thomas Gleixner
Date: Mon Mar 18 2024 - 13:28:06 EST


On Sat, Mar 16 2024 at 02:11, Thomas Gleixner wrote:
> On Fri, Mar 15 2024 at 16:23, Linus Torvalds wrote:
> The amount of subtle SMP=n fallout has been kinda exponentially
> increasing over the years and it's just putting burden on the wrong
> people. TBH, I'm tired of this nonsense.

And for the fun of it I hacked Kconfig to allow a SMP=y NR_CPUS=1 build
and checked the size of vmlinux:

64-bit 32-bit
SMP, NCPUS=1 38438400 22110177
UP 38393703 21682041
Delta 44697 428076
0.1% 2%

The UP savings are not really impressive...

Let me look what it actually takes to do that.

Thanks,

tglx