irq: fix support for allocating sets of IRQs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Revert "irq: add support for allocating (and affinitizing) sets of IRQs"drivers/ include/ kernel/ | +9 | 0 replies | |
| 2/4 | irq: move 2-stage irq spread into one helperkernel/ | +56 | 0 replies | |
| 3/4 | irq: pass first vector to __irq_build_affinity_maskskernel/ | +9 | 0 replies | |
| 4/4 | irq: add support for allocating (and affinitizing) sets of IRQsdrivers/ include/ kernel/ | +70 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Hannes Reinecke | Ming Lei | Keith Busch | Sagi Grimberg |
|---|---|---|---|---|
| Series | R-b | |||
| 1/4 | ||||
| 2/4 | ||||
| 3/4 | ||||
| 4/4 | R-b | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/4] irq: fix support for allocating sets of IRQs
Hi Jens,
As I mentioned, there are at least two issues in the patch of '
irq: add support for allocating (and affinitizing) sets of IRQs':
1) it is wrong to pass 'mask + usedvec' to irq_build_affinity_masks()
2) we should spread all possible CPUs in 2-stage way on each set of IRQs
The fix isn't trivial, and I introduce two extra patches as preparation, then the implementation can be more clean.
The patchset is against mq-maps branch of block tree, feel free to integrate into the whole patchset of multiple queue maps.
Thanks,
Ming
Jens Axboe (1):
irq: add support for allocating (and affinitizing) sets of IRQs
Ming Lei (3):
Revert "irq: add support for allocating (and affinitizing) sets of
IRQs"
irq: move 2-stage irq spread into one helper
irq: pass first vector to __irq_build_affinity_masks
kernel/irq/affinity.c | 119 +++++++++++++++++++++++++++++++------------------- 1 file changed, 75 insertions(+), 44 deletions(-)
Signature · 1 line
2.9.5