Skip to content

Commit 68d8751

Browse files
author
Frederic Weisbecker
committed
x86: Remove TIF_NOHZ
Static keys have replaced TIF_NOHZ to optimize the calls to context tracking. We can now safely remove that thread flag. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Andy Lutomirski <[email protected]>
1 parent 490f561 commit 68d8751

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ config X86
211211
select HAVE_STACK_VALIDATION if X86_64
212212
select HAVE_RSEQ
213213
select HAVE_SYSCALL_TRACEPOINTS
214-
select HAVE_TIF_NOHZ if X86_64
215214
select HAVE_UNSTABLE_SCHED_CLOCK
216215
select HAVE_USER_RETURN_NOTIFIER
217216
select HAVE_GENERIC_VDSO

arch/x86/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ struct thread_info {
9292
#define TIF_NOCPUID 15 /* CPUID is not accessible in userland */
9393
#define TIF_NOTSC 16 /* TSC is not accessible in userland */
9494
#define TIF_IA32 17 /* IA32 compatibility process */
95-
#define TIF_NOHZ 19 /* in adaptive nohz mode */
9695
#define TIF_MEMDIE 20 /* is terminating due to OOM killer */
9796
#define TIF_POLLING_NRFLAG 21 /* idle is polling for TIF_NEED_RESCHED */
9897
#define TIF_IO_BITMAP 22 /* uses I/O bitmap */
@@ -122,7 +121,6 @@ struct thread_info {
122121
#define _TIF_NOCPUID (1 << TIF_NOCPUID)
123122
#define _TIF_NOTSC (1 << TIF_NOTSC)
124123
#define _TIF_IA32 (1 << TIF_IA32)
125-
#define _TIF_NOHZ (1 << TIF_NOHZ)
126124
#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
127125
#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP)
128126
#define _TIF_FORCED_TF (1 << TIF_FORCED_TF)

0 commit comments

Comments
 (0)