]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/mtrr: Avoid repeated save of MTRRs on boot-time CPU bringup
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 14 Dec 2021 14:49:11 +0000 (14:49 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 14 Dec 2021 16:46:16 +0000 (16:46 +0000)
commitc955ffdf4bb9d0c45b7c54d556161d1633ef48c5
tree5c5f6e3bb0d03304f40e7928b809cfdb0790749f
parente886b80451d50c0871dafc3a3a393372197001ed
x86/mtrr: Avoid repeated save of MTRRs on boot-time CPU bringup

There's no need to repeatedly save the BSP's MTRRs for each AP we bring
up at boot time. And there's no need to use smp_call_function_single()
even for the one time we *do* want to do it.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/kernel/cpu/mtrr/mtrr.c