Re: [PATCH v3 1/1] PCI: hv: Spread load across CPUs when selecting effective affinity CPU

From
Bjorn Helgaas <helgaas@kernel.org>
Date
2026-10-28 17:13:49
Also in
linux-pci, lkml
Reply to
Michael Kelley, 2026-10-28
On Wed, Oct 28, 2026 at 08:55:59AM -0700, Michael Kelley wrote:
In a system with multiple devices with the same configuration (such as
NVMe controllers), the affinity masks are the same for all such devices.
Linux typicaly must select a single CPU from each mask to be the effective
s/typicaly/typically/
quoted hunk ↗ jump to hunk
@@ -881,25 +1016,48 @@ static int hv_pci_vec_irq_domain_alloc(struct irq_domain *domain,
 }
 
 /*
- * Pick the first cpu as the irq affinity that can be temporarily used for
+ * Pick the first CPU as the irq affinity that can be temporarily used for
s/irq/IRQ/ if you want to follow the majority usage in this file, also
below
quoted hunk ↗ jump to hunk
  * composing MSI from the hypervisor. GIC will eventually set the right
  * affinity for the irq and the 'unmask' will retarget the interrupt to that
- * cpu.
+ * CPU.
Thread (3 messages) 3 messages, 3 authors, last reply 19d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help