On Fri, May 23, 2025 at 11:44:44PM +0530, Shrikanth Hegde wrote:
CPU is said to be parked, when underlying physical CPU is not
available. This happens when there is contention for CPU resource in
para-virtualized case. One should avoid using these CPUs.
Build and maintain this state of parked CPUs. Scheduler will use this
information and push the tasks out as soon as it can.
This 'parked' term sounds pretty obscured. Maybe name it in
a positive sense, and more explicit, like cpu_paravirt_mask.
Also, shouldn't this be conditional on CONFIG_PARAVIRT?
Thanks,
Yury