]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
x86/entry: Remove _TIF_NOHZ from _TIF_WORK_SYSCALL_ENTRY
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Oct 2019 12:27:14 +0000 (14:27 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Fri, 14 Feb 2020 15:04:35 +0000 (16:04 +0100)
commit7c805795307b40af50a45b7db44dd09ac1700947
tree46617929adc5761765f7385fe646fd8a39d9d64b
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
x86/entry: Remove _TIF_NOHZ from _TIF_WORK_SYSCALL_ENTRY

Evaluating _TIF_NOHZ to decide whether to use the slow syscall entry path
is not only pointless, it's actually counterproductive:

 1) Context tracking code is invoked unconditionally before that flag is
    evaluated.

 2) If the flag is set the slow path is invoked for nothing due to #1

Remove it.

Signed-off-by: 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>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
arch/x86/include/asm/thread_info.h