Re: [RFC PATCH 5/5] x86/entry: Store CPU info on exception entry

From: Borislav Petkov
Date: Sat Aug 06 2022 - 05:11:38 EST


On Sat, Aug 06, 2022 at 11:01:06AM +0200, Ingo Molnar wrote:
> It's still 2 instructions more than what we had before, while the
> fault-time CPU number is only needed infrequently AFAICS.

With the amount of logical cores ever increasing and how CPU packages
(nodes, L3 sharing, you name it) get more and more complex topology,
I'd say the 2 insns to show the CPU number in every exception is a good
thing to do.

Arguably, we probably should've even done it already...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette