OSDN Git Service

arch/*: Disable softirq stacks on PREEMPT_RT.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 14 Jun 2022 18:18:14 +0000 (20:18 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 15 Jun 2022 15:40:59 +0000 (17:40 +0200)
commitf2c5092190f21e02d384f750bcc473554f3aa3f8
tree95a6c77231708a982830842ad4b5c4c4982a5608
parentb13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3
arch/*: Disable softirq stacks on PREEMPT_RT.

PREEMPT_RT preempts softirqs and the current implementation avoids
do_softirq_own_stack() and only uses __do_softirq().

Disable the unused softirqs stacks on PREEMPT_RT to save some memory and
ensure that do_softirq_own_stack() is not used bwcause it is not expected.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/kernel/irq.c
arch/parisc/kernel/irq.c
arch/powerpc/kernel/irq.c
arch/s390/include/asm/softirq_stack.h
arch/sh/kernel/irq.c
arch/sparc/kernel/irq_64.c
include/asm-generic/softirq_stack.h