On 18/05/2022 15:44, Juergen Gross wrote: > Today the number of cpupools in a system is unlimited. This can lead to > multiple problems (e.g. duplicate cpupool-id).
Not to mention scalability issues. Search by ID is O(n). > > Limit the number of cpupools to twice the number of maximum possible > cpus, allowing to have one cpupool per physical cpu plus some spare > cpupools for special means (there are already existing use cases for > such spare cpupools). Probably one of Suggested-by/Reported-by/Requested-by :) Dealers choice. > Signed-off-by: Juergen Gross <[email protected]> Otherwise, LGTM. Acked-by: Andrew Cooper <[email protected]>
