Skip to content

genirq/affinity: try to make sure online CPU is assgined to irq vector

Ming Lei linux-block linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2genirq/affinity: move irq vectors spread into one functionkernel/irq/affinity.c+34 -220 replies
2/2genirq/affinity: try best to make sure online CPU is assigned to vectorkernel/irq/affinity.c+18 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] genirq/affinity: try to make sure online CPU is assgined to irq vector

Hi,

These two patches fixes IO hang issue reported by Laurence.

84676c1f21 ("genirq/affinity: assign vectors to all possible CPUs") may cause one irq vector assigned to all offline CPUs, then this vector can't handle irq any more.

The 1st patch moves irq vectors spread into one function, and prepares for the fix done in 2nd patch.

The 2nd patch fixes the issue by trying to make sure online CPUs assigned to irq vector.

Ming Lei (2):
genirq/affinity: move irq vectors spread into one function genirq/affinity: try best to make sure online CPU is assigned to
vector

 kernel/irq/affinity.c | 77 ++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 52 insertions(+), 25 deletions(-)
Signature · 1 line
2.9.5