genirq/nvme: add IRQF_RESCUE_THREAD for avoiding IRQ flood
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 60 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | softirq: implement IRQ flood detection mechanismdrivers/ include/ kernel/ | +73 | 51 replies | |
| 2/4 | genirq: add IRQF_RESCUE_THREADinclude/ kernel/ kernel/ | +23 | 0 replies | |
| 3/4 | nvme: pci: pass IRQF_RESCURE_THREAD to request_threaded_irqdrivers/ | +15 | 7 replies | |
| 4/4 | genirq: use irq's affinity for threaded irq with IRQF_RESCUE_THREADkernel/ | +12 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] genirq/nvme: add IRQF_RESCUE_THREAD for avoiding IRQ flood
Hi Guys,
The 1st patch implements one simple EWMA based mechanism for detecting IRQ flood.
The 2nd patch adds IRQF_RESCUE_THREAD, and interrupts will be handled in the created rescue thread in case that IRQ flood comes.
The 3rd patch applies the flag of IRQF_RESCURE_THREAD for NVMe.
The last patch uses irq's affinity in case of IRQF_RESCUE_THREAD.
Please review & comment!
Long, please test and see if your issue can be fixed.
Ming Lei (4):
softirq: implement IRQ flood detection mechanism
genirq: add IRQF_RESCUE_THREAD
nvme: pci: pass IRQF_RESCURE_THREAD to request_threaded_irq
genirq: use irq's affinity for threaded irq with IRQF_RESCUE_THREAD
drivers/base/cpu.c | 25 +++++++++++++++++++++ drivers/nvme/host/pci.c | 17 +++++++++++++-- include/linux/hardirq.h | 2 ++ include/linux/interrupt.h | 6 +++++ kernel/irq/handle.c | 6 ++++- kernel/irq/manage.c | 25 ++++++++++++++++++++- kernel/softirq.c | 46 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 123 insertions(+), 4 deletions(-)
Cc Long Li <[email protected]>
Cc Ingo Molnar <[email protected]>,
Cc Peter Zijlstra <[email protected]>
Cc Keith Busch <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Sagi Grimberg <[email protected]>
Cc John Garry <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Hannes Reinecke <[email protected]>
Signature · 1 line
2.20.1