diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-27 16:05:05 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-02-27 16:05:05 +0100 |
commit | e4970c9c54d7cb4edc24d82ed27aef69aaf593de (patch) | |
tree | fe04ddea22c344d58ae4d7a6e6e276521af910d5 /arch/Kconfig | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff) | |
parent | 320a4fc2d1b0c2314342dfdd3348270f126196a4 (diff) | |
download | linux-stable-e4970c9c54d7cb4edc24d82ed27aef69aaf593de.tar.gz linux-stable-e4970c9c54d7cb4edc24d82ed27aef69aaf593de.tar.bz2 linux-stable-e4970c9c54d7cb4edc24d82ed27aef69aaf593de.zip |
Merge branch 'arch/nohz' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks into timers/nohz
Pull NOHZ updates from Frederic Weisbecker:
- Remove TIF_NOHZ from 3 architectures
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 98de654b79b3..dbf420a9f87b 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -540,11 +540,17 @@ config HAVE_CONTEXT_TRACKING help Provide kernel/user boundaries probes necessary for subsystems that need it, such as userspace RCU extended quiescent state. - Syscalls need to be wrapped inside user_exit()-user_enter() through - the slow path using TIF_NOHZ flag. Exceptions handlers must be - wrapped as well. Irqs are already protected inside - rcu_irq_enter/rcu_irq_exit() but preemption or signal handling on - irq exit still need to be protected. + Syscalls need to be wrapped inside user_exit()-user_enter(), either + optimized behind static key or through the slow path using TIF_NOHZ + flag. Exceptions handlers must be wrapped as well. Irqs are already + protected inside rcu_irq_enter/rcu_irq_exit() but preemption or signal + handling on irq exit still need to be protected. + +config HAVE_TIF_NOHZ + bool + help + Arch relies on TIF_NOHZ and syscall slow path to implement context + tracking calls to user_enter()/user_exit(). config HAVE_VIRT_CPU_ACCOUNTING bool |