]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/mm: Select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 9 Apr 2025 13:01:51 +0000 (15:01 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 14 Apr 2025 09:23:21 +0000 (11:23 +0200)
commitfe20164177be007f490b79db94ed8d65c4e48bb0
tree0538420364a12b1fba3211a9c2c025c9663db295
parent8b72f5a97b82185806ff085582ece86ce5b9811e
s390/mm: Select ARCH_WANT_IRQS_OFF_ACTIVATE_MM

Select ARCH_WANT_IRQS_OFF_ACTIVATE_MM so that activate_mm() is called with
irqs disabled. This allows to call switch_mm_irqs_off() instead of
switch_mm() and saves two local_irq_save() / local_irq_restore() pairs.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/Kconfig
arch/s390/include/asm/mmu_context.h