Re: [PATCH v2 1/3] xen/sched: introduce cpupool_update_node_affinity()

2022-08-15 Thread Jan Beulich
On 15.08.2022 13:58, Juergen Gross wrote: > On 15.08.22 13:41, Jan Beulich wrote: >> On 15.08.2022 13:04, Juergen Gross wrote: >>> For updating the node affinities of all domains in a cpupool add a new >>> function cpupool_update_node_affinity(). >>> >>> In order to avoid multiple allocations of cp

Re: [PATCH v2 1/3] xen/sched: introduce cpupool_update_node_affinity()

2022-08-15 Thread Juergen Gross
On 15.08.22 13:41, Jan Beulich wrote: On 15.08.2022 13:04, Juergen Gross wrote: For updating the node affinities of all domains in a cpupool add a new function cpupool_update_node_affinity(). In order to avoid multiple allocations of cpumasks carve out memory allocation and freeing from domain_

Re: [PATCH v2 1/3] xen/sched: introduce cpupool_update_node_affinity()

2022-08-15 Thread Jan Beulich
On 15.08.2022 13:04, Juergen Gross wrote: > For updating the node affinities of all domains in a cpupool add a new > function cpupool_update_node_affinity(). > > In order to avoid multiple allocations of cpumasks carve out memory > allocation and freeing from domain_update_node_affinity() into new

[PATCH v2 1/3] xen/sched: introduce cpupool_update_node_affinity()

2022-08-15 Thread Juergen Gross
For updating the node affinities of all domains in a cpupool add a new function cpupool_update_node_affinity(). In order to avoid multiple allocations of cpumasks carve out memory allocation and freeing from domain_update_node_affinity() into new helpers, which can be used by cpupool_update_node_a