summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/callthunks.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-05-13 00:07:01 +0300
committerPeter Zijlstra <peterz@infradead.org>2023-05-15 14:44:48 +0300
commit134a12827bc59484c4d4a3ceabf178c831febbb8 (patch)
tree6031ffdf14524672a3fcaa09575f5a99aa271818 /arch/x86/kernel/callthunks.c
parentba831b7b1a517ba7f25d6fa9736a8092d07b0c74 (diff)
downloadlinux-134a12827bc59484c4d4a3ceabf178c831febbb8.tar.xz
x86/smpboot: Avoid pointless delay calibration if TSC is synchronized
When TSC is synchronized across sockets then there is no reason to calibrate the delay for the first CPU which comes up on a socket. Just reuse the existing calibration value. This removes 100ms pointlessly wasted time from CPU hotplug per socket. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> Tested-by: Helge Deller <deller@gmx.de> # parisc Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck Link: https://lore.kernel.org/r/20230512205255.608773568@linutronix.de
Diffstat (limited to 'arch/x86/kernel/callthunks.c')
0 files changed, 0 insertions, 0 deletions