]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/Kconfig
context-tracking: Introduce CONFIG_HAVE_TIF_NOHZ
authorFrederic Weisbecker <frederic@kernel.org>
Mon, 27 Jan 2020 15:41:52 +0000 (16:41 +0100)
committerFrederic Weisbecker <frederic@kernel.org>
Fri, 14 Feb 2020 15:05:04 +0000 (16:05 +0100)
commit490f561b783dac2c4825e288e6dbbf83481eea34
tree9d51328accd11ec6eafd8e1cc0e0a150c451b764
parent7c805795307b40af50a45b7db44dd09ac1700947
context-tracking: Introduce CONFIG_HAVE_TIF_NOHZ

A few archs (x86, arm, arm64) don't rely anymore on TIF_NOHZ to call
into context tracking on user entry/exit but instead use static keys
(or not) to optimize those calls. Ideally every arch should migrate to
that behaviour in the long run.

Settle a config option to let those archs remove their TIF_NOHZ
definitions.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: David S. Miller <davem@davemloft.net>
arch/Kconfig
arch/arm/Kconfig
arch/arm64/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
arch/sparc/Kconfig
arch/x86/Kconfig
kernel/context_tracking.c