Re: [PATCH V6 1/2] genirq/affinity: Improve __irq_build_affinity_masks()

2019-08-22 Thread Derrick, Jonathan
lgtm Reviewed-by: Jon Derrick On Mon, 2019-08-19 at 20:49 +0800, Ming Lei wrote: > One invariant of __irq_build_affinity_masks() is that all CPUs in the > specified masks( cpu_mask AND node_to_cpumask for each node) should be > covered during the spread. Even though all requested vectors have be

Re: [PATCH V6 1/2] genirq/affinity: Improve __irq_build_affinity_masks()

2019-08-22 Thread Keith Busch
On Mon, Aug 19, 2019 at 05:49:36AM -0700, Ming Lei wrote: > One invariant of __irq_build_affinity_masks() is that all CPUs in the > specified masks( cpu_mask AND node_to_cpumask for each node) should be > covered during the spread. Even though all requested vectors have been > reached, we still nee

[PATCH V6 1/2] genirq/affinity: Improve __irq_build_affinity_masks()

2019-08-19 Thread Ming Lei
One invariant of __irq_build_affinity_masks() is that all CPUs in the specified masks( cpu_mask AND node_to_cpumask for each node) should be covered during the spread. Even though all requested vectors have been reached, we still need to spread vectors among remained CPUs. The similar policy has be