On 11/15/24 10:45 AM, Michal Koutný wrote:
(Also someone mentioned that this could share lots of code with CPU offlining/onlining.)
Yes, that is true. The simplest way to do that is to offline the CPUs to be isolated, change the housekeeping masks and then online those CPUs again. That is good for managing a single isolated partition. However, Daniel had told me that CPU hotplug code could cause latency spike in existing isolated CPUs. That could be a problem if we have more than one isolated partitions to manage. So more investigation will be needed in this.
This is still the direction we are going initially, but first we need to enable dynamic changes to the housekeeping masks first.
Cheers, Longman