nohz patches for 3.12 preview
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | nohz: Do not warn about unstable tsc unless user uses nohz_fullkernel/ | +2 | 0 replies | |
| 2/18 | nohz: fix compile warning in tick_nohz_init()kernel/ | +0 | 0 replies | |
| 3/18 | sched: Consolidate open coded preemptible() checkskernel/ kernel/ | +2 | 0 replies | |
| 4/18 | context_tracing: Fix guest accounting with native vtimeinclude/ kernel/ | +26 | 0 replies | |
| 5/18 | vtime: Update a few commentsinclude/ kernel/ | +9 | 2 replies | |
| 6/18 | context_tracking: Fix runtime CPU off-casekernel/ | +33 | 0 replies | |
| 7/18 | nohz: Selectively enable context tracking on full dynticks CPUsinclude/ init/ kernel/ +2 more | +14 | 4 replies | |
| 8/18 | context_tracking: Ground setup for static key useinclude/ kernel/ | +22 | 0 replies | |
| 9/18 | context_tracking: Optimize main APIs off case with static keyinclude/ kernel/ kernel/ | +47 | 0 replies | |
| 10/18 | context_tracking: Optimize context switch off case with static keysinclude/ kernel/ | +12 | 0 replies | |
| 11/18 | context_tracking: User/kernel broundary cross trace eventsinclude/ kernel/ | +63 | 0 replies | |
| 12/18 | vtime: Remove a few unneeded generic vtime state checkskernel/ | +1 | 0 replies | |
| 13/18 | vtime: Fix racy cputime delta updatekernel/ | +2 | 0 replies | |
| 14/18 | context_tracking: Split low level state headersinclude/ include/ | +40 | 0 replies | |
| 15/18 | vtime: Describe overriden functions in dedicated arch headersarch/ arch/ arch/ +4 more | +14 | 0 replies | |
| 16/18 | vtime: Optimize full dynticks accounting off case with static keysinclude/ include/ kernel/ | +67 | 0 replies | |
| 17/18 | vtime: Always scale generic vtime accounting resultskernel/ | +0 | 0 replies | |
| 18/18 | vtime: Always debug check snapshot source _before_ updating itkernel/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/18] nohz patches for 3.12 preview
Hi,
So patch 1 and 2 are fixes that I'll rather queue for 3.11.
The rest is 3.12 material. There is a strong focus on minimizing the overhead for the full dynticks off case: nohz_full= parameter not passed and CONFIG_NO_HZ_FULL_ALL=n.
I'm working on that because it seems that distros want to enable CONFIG_NO_HZ_FULL and of course they quickly hit the resulting overhead and powersaving issues.
So I tried to optimize the off case with static keys. I hope this will be sufficient. Otherwise the last resort is to create an exception and irq slow path. I believe that x86 irq tracepoints overwrite the IDT for that purpose? At least that was a plan, not sure if we sticked to it but that's just an idea.
At least static keys don't require further arch backend support, expect of course the support for static keys themselves, so I hope that will be enough.
There is one little remaining thing to take care of: let the boot CPU go idle as well in the off case.
I also hope we'll get Paul's patches that allow the timekeeper to go idle in 3.12, but that's another story.
---
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/nohz-3.12-preview
Frederic Weisbecker (16):
sched: Consolidate open coded preemptible() checks
context_tracing: Fix guest accounting with native vtime
vtime: Update a few comments
context_tracking: Fix runtime CPU off-case
nohz: Selectively enable context tracking on full dynticks CPUs
context_tracking: Ground setup for static key use
context_tracking: Optimize main APIs off case with static key
context_tracking: Optimize context switch off case with static keys
context_tracking: User/kernel broundary cross trace events
vtime: Remove a few unneeded generic vtime state checks
vtime: Fix racy cputime delta update
context_tracking: Split low level state headers
vtime: Describe overriden functions in dedicated arch headers
vtime: Optimize full dynticks accounting off case with static keys
vtime: Always scale generic vtime accounting results
vtime: Always debug check snapshot source _before_ updating it
Li Zhong (1):
nohz: fix compile warning in tick_nohz_init()
Steven Rostedt (1):
nohz: Do not warn about unstable tsc unless user uses nohz_full
arch/ia64/include/asm/Kbuild | 1 + arch/powerpc/include/asm/Kbuild | 1 + arch/s390/include/asm/cputime.h | 3 - arch/s390/include/asm/vtime.h | 7 ++ arch/s390/kernel/vtime.c | 1 + include/linux/context_tracking.h | 118 ++++++++++++++-------------- include/linux/context_tracking_state.h | 39 ++++++++++ include/linux/vtime.h | 74 ++++++++++++++++-- include/trace/events/context_tracking.h | 58 ++++++++++++++ init/Kconfig | 2 +- kernel/context_tracking.c | 126 ++++++++++++++++++------------- kernel/sched/core.c | 4 +- kernel/sched/cputime.c | 53 ++++--------- kernel/time/Kconfig | 1 - kernel/time/tick-sched.c | 7 ++- 15 files changed, 327 insertions(+), 168 deletions(-) create mode 100644 arch/s390/include/asm/vtime.h create mode 100644 include/asm-generic/vtime.h create mode 100644 include/linux/context_tracking_state.h create mode 100644 include/trace/events/context_tracking.h
Signature · 1 line
1.7.5.4