arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
Subsystems (2)
PATCH v2 1/1 arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
For those architectures with HAVE_SOFTIRQ_ON_OWN_STACK use their dedicated softirq stack when !PREEMPT_RT. This condition is ensured by SOFTIRQ_ON_OWN_STACK.
Let arm64 use SOFTIRQ_ON_OWN_STACK as well to select its usage of the stack.
---
Changes since v1:
[1] https://lore.kernel.org/linux-rt-devel/[email protected]/
- Add <Reviewed-by> by Sebastian.
- Add <Acked-by> by Will.
--- arch/arm64/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/irq.c +1 -1
@@ -62,7 +62,7 @@ static void __init init_irq_stacks(void) } } -#ifndef CONFIG_PREEMPT_RT +#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK static void ____do_softirq (struct pt_regs *regs) {__do_softirq ();
Signature · 1 line
2.34.1
Quoted 8 lines · Ryo Takakura
For those architectures with
HAVE_SOFTIRQ_ON_OWN_STACKuse their dedicated softirq stack when !PREEMPT_RT. This condition is ensured bySOFTIRQ_ON_OWN_STACK.Let arm64 use
SOFTIRQ_ON_OWN_STACKas well to select its usage of the stack.[...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: use SOFTIRQ_ON_OWN_STACK for enabling softirq stack
https://git.kernel.org/arm64/c/d3b570eba7bf
Signature · 1 line
Catalin