On 29/04/2025 2:37 pm, Jan Beulich wrote: > Error paths of cpufreq_statistic_init() correctly free the base > structure pointer, but the per-CPU variable would still hold it, mis- > guiding e.g. cpufreq_statistic_update(). Defer installing of the pointer > there until the structure was fully populated. > > Fixes: 755af07edba1 ("x86/cpufreq: don't use static array for large per-CPU > data structures") > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com>