Skip to content

x86/irq: slightly improve handle_irq

Heiner Kallweit lkml 2 versions – Applied

Status from this message: The following commit has been merged into the x86/irq branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- patch 2: add "likely" to if clause and reorder it
- patch 2: For 64bit, remove handle_irq and inline call to generic_handle_irq_desc

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3x86/irq: improve definition of VECTOR_SHUTDOWN et alarch/x86/include/asm/hw_irq.h+2 -20 replies
2/3x86/irq: factor out IS_ERR_OR_NULL check from platform-specific handle_irqarch/x86/include/asm/irq.h arch/x86/kernel/irq.c arch/x86/kernel/irq_32.c +1 more+9 -180 replies
3/3x86/irq: slightly improve do_IRQarch/x86/kernel/irq.c+1 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] x86/irq: slightly improve handle_irq

When checking something else I stumbled across this code. This patch set simplifies it a little bit.

v2:
- patch 2: add "likely" to if clause and reorder it
- patch 2: For 64bit, remove handle_irq and inline call to generic_handle_irq_desc

Heiner Kallweit (3):
x86/irq: improve definition of VECTOR_SHUTDOWN et al x86/irq: factor out IS_ERR_OR_NULL check from platform-specific
handle_irq
x86/irq: slightly improve do_IRQ

 arch/x86/include/asm/hw_irq.h |  4 ++--
 arch/x86/include/asm/irq.h    |  2 +-
 arch/x86/kernel/irq.c         | 11 ++++++++---
 arch/x86/kernel/irq_32.c      |  7 +------
 arch/x86/kernel/irq_64.c      |  9 ---------
 5 files changed, 12 insertions(+), 21 deletions(-)
Signature · 1 line
2.22.1