Skip to content

context_tracking: Remove TIF_NOHZ from 3 archs

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/entry: Remove _TIF_NOHZ from _TIF_WORK_SYSCALL_ENTRYarch/x86/include/asm/thread_info.h+2 -60 replies
2/5context-tracking: Introduce CONFIG_HAVE_TIF_NOHZarch/Kconfig arch/arm/Kconfig arch/arm64/Kconfig +5 more+19 -50 replies
3/5x86: Remove TIF_NOHZarch/x86/Kconfig arch/x86/include/asm/thread_info.h+0 -30 replies
4/5arm: Remove TIF_NOHZarch/arm/Kconfig arch/arm/include/asm/thread_info.h+0 -20 replies
5/5arm64: Remove TIF_NOHZarch/arm64/Kconfig arch/arm64/include/asm/thread_info.h+1 -42 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchWill Deacon
1/5
2/5
3/5
4/5
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] context_tracking: Remove TIF_NOHZ from 3 archs

TIF_NOHZ is getting deprecated by static keys which avoid to invoke syscall slow path on every syscall. So remove that flag from architectures that don't need it anymore (or worse yet: that spuriously triggered syscall slow path when it's not needed anymore).

We hope to remove TIF_NOHZ entirely in the long run (PPC, MIPS, SPARC). If we want to be able to enable/disable nohz full dynamically on runtime, freezing all tasks and iterating through the whole tasklist to set/clear TIF_NOHZ doesn't sound very appealing.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
arch/nohz

WARNING: untested on ARM 32

HEAD: 92502ebbf06ac37858694ed8f9d16fdb13ed0fe3

Thanks,
Frederic
---

Frederic Weisbecker (4):
context-tracking: Introduce CONFIG_HAVE_TIF_NOHZ
x86: Remove TIF_NOHZ
arm: Remove TIF_NOHZ
arm64: Remove TIF_NOHZ

Thomas Gleixner (1):
x86/entry: Remove _TIF_NOHZ from _TIF_WORK_SYSCALL_ENTRY

 arch/Kconfig                         | 16 +++++++++++-----
 arch/arm/include/asm/thread_info.h   |  1 -
 arch/arm64/include/asm/thread_info.h |  4 +---
 arch/mips/Kconfig                    |  1 +
 arch/powerpc/Kconfig                 |  1 +
 arch/sparc/Kconfig                   |  1 +
 arch/x86/include/asm/thread_info.h   | 10 ++--------
 kernel/context_tracking.c            |  2 ++
 8 files changed, 19 insertions(+), 17 deletions(-)