Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'irq-urgent-2022-04-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fix from Thomas Gleixner:
"A single fix for the interrupt affinity spreading logic to take into
account that there can be an imbalance between present and possible
CPUs, which causes already assigned bits to be overwritten"

* tag 'irq-urgent-2022-04-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
genirq/affinity: Consider that CPUs on nodes can be unbalanced

+3 -2
+3 -2
kernel/irq/affinity.c
··· 269 269 */ 270 270 if (numvecs <= nodes) { 271 271 for_each_node_mask(n, nodemsk) { 272 - cpumask_or(&masks[curvec].mask, &masks[curvec].mask, 273 - node_to_cpumask[n]); 272 + /* Ensure that only CPUs which are in both masks are set */ 273 + cpumask_and(nmsk, cpu_mask, node_to_cpumask[n]); 274 + cpumask_or(&masks[curvec].mask, &masks[curvec].mask, nmsk); 274 275 if (++curvec == last_affv) 275 276 curvec = firstvec; 276 277 }