On 07.03.2025 02:09, Andrew Cooper wrote: > On 05/03/2025 2:01 pm, Jan Beulich wrote: >> On 05.03.2025 01:02, Andrew Cooper wrote: >>> This can be a plain per_cpu() variable, and __read_mostly seeing as it's >>> allocated once and never touched again. >> cpu_smpboot_free() certainly touches (really: modifies) it again. > > Not really. That's a dead path because we always park CPUs.
On Intel hardware; not (yet) on AMD / Hygon iirc. Jan > But fine, I'll rephrase to "not touched again during it's lifetime". > > ~Andrew