]> git.baikalelectronics.ru Git - kernel.git/commit
x86/softirq: Disable softirq stacks on PREEMPT_RT
authorThomas Gleixner <tglx@linutronix.de>
Fri, 24 Sep 2021 16:12:45 +0000 (18:12 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 27 Sep 2021 10:28:32 +0000 (12:28 +0200)
commit72129dc059412837e727212a8017abf66f8af964
treea66979eafb0fc79d3a9d393835e22aeb9ab553b9
parentc5ace4ed0002df4905b2ef0ce4967f0649944ec9
x86/softirq: 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 safe some memory and
ensure that do_softirq_own_stack() is not used which is not expected.

 [ bigeasy: commit description. ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210924161245.2357247-1-bigeasy@linutronix.de
arch/x86/include/asm/irq_stack.h
arch/x86/kernel/irq_32.c