Re: [PATCH v4 12/16] x86/mtrr: add a stop_machine() handler calling only cache_cpu_init()

From: Borislav Petkov
Date: Sat Oct 29 2022 - 06:08:07 EST


On Tue, Oct 04, 2022 at 10:10:19AM +0200, Juergen Gross wrote:
> +void cache_ap_init(void)
> +{
> + if (!memory_caching_control || cache_aps_delayed_init)
> + return;
> +
> + /*
> + * Ideally we should hold mtrr_mutex here to avoid mtrr entries
> + * changed, but this routine will be called in cpu boot time,

In all new text you're adding

s/mtrr/MTRR/g
s/cpu/CPU/g

so that it is all consistent.

Thx.

--
Regards/Gruss,
Boris.

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