nohz patches for 3.12 preview v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | sched: Consolidate open coded preemptible() checkskernel/ kernel/ | +2 | 0 replies | |
| 2/21 | context_tracing: Fix guest accounting with native vtimeinclude/ kernel/ | +26 | 0 replies | |
| 3/21 | vtime: Update a few commentsinclude/ kernel/ | +11 | 0 replies | |
| 4/21 | context_tracking: Fix runtime CPU off-casekernel/ | +33 | 0 replies | |
| 5/21 | nohz: Only enable context tracking on full dynticks CPUsinclude/ kernel/ kernel/ | +11 | 0 replies | |
| 6/21 | context_tracking: Remove full dynticks' hacky dependency on wide context trackinginit/ kernel/ | +22 | 0 replies | |
| 7/21 | context_tracking: Ground setup for static key useinclude/ kernel/ | +22 | 0 replies | |
| 8/21 | context_tracking: Optimize main APIs off case with static keyinclude/ kernel/ | +28 | 0 replies | |
| 9/21 | context_tracking: Optimize guest APIs off case with static keyinclude/ kernel/ kernel/ | +21 | 0 replies | |
| 10/21 | context_tracking: Optimize context switch off case with static keysinclude/ kernel/ | +12 | 0 replies | |
| 11/21 | context_tracking: User/kernel broundary cross trace eventsinclude/ kernel/ | +63 | 0 replies | |
| 12/21 | vtime: Remove a few unneeded generic vtime state checkskernel/ | +1 | 0 replies | |
| 13/21 | vtime: Fix racy cputime delta updatekernel/ | +2 | 0 replies | |
| 14/21 | context_tracking: Split low level state headersinclude/ include/ | +40 | 0 replies | |
| 15/21 | vtime: Describe overriden functions in dedicated arch headersarch/ arch/ arch/ +4 more | +14 | 0 replies | |
| 16/21 | vtime: Optimize full dynticks accounting off case with static keysinclude/ include/ kernel/ | +67 | 0 replies | |
| 17/21 | vtime: Always scale generic vtime accounting resultskernel/ | +0 | 0 replies | |
| 18/21 | vtime: Always debug check snapshot source _before_ updating itkernel/ | +2 | 0 replies | |
| 19/21 | nohz: Rename a few state variableskernel/ | +21 | 0 replies | |
| 20/21 | nohz: Optimize full dynticks state checks with static keysinclude/ kernel/ | +25 | 0 replies | |
| 21/21 | nohz: Optimize full dynticks's sched hooks with static keysinclude/ kernel/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/21] nohz patches for 3.12 preview v2
Hi,
This is a respin of the series that optimize full dynticks off-case with static keys. It seems that some distros are interested in full dynticks so we need to optimize the off case such that unconcerned users are not impacted by performance regressions.
Thanks to Steve for his reviews on the previous version! I hope the changelogs and comments are better in this version.
---
Changes since last posting:
* Rebase against 3.11-rc2
* Dropped because merged in -tip through urgent queue:
nohz: Do not warn about unstable tsc unless user uses nohz_full
nohz: fix compile warning in tick_nohz_init()
Reported by Steve:
* Fix confusing comments in [03/21]
* Fix confusing changelog [05/21]
* Split [05/21] with new patch to enhance CONFIG_CONTEXT_TRACKING_FORCE Kconfig help text, see [06/21]
Bugfixes:
* Fix missing exported symbol, clarify changes by seperating guest APIs optimization in a seperate patch [09/21]
Further:
* Use static keys on full dynticks APIs [19-21/21]
You can snort from:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/nohz-3.12-preview-v2
Thanks,
Frederic
---
Frederic Weisbecker (21):
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: Only enable context tracking on full dynticks CPUs
context_tracking: Remove full dynticks' hacky dependency on wide context tracking
context_tracking: Ground setup for static key use
context_tracking: Optimize main APIs off case with static key
context_tracking: Optimize guest 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
nohz: Rename a few state variables
nohz: Optimize full dynticks state checks with static keys
nohz: Optimize full dynticks's sched hooks with static keys
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 | 120 +++++++++++++++-------------- include/linux/context_tracking_state.h | 39 +++++++++ include/linux/tick.h | 45 +++++++++-- include/linux/vtime.h | 74 ++++++++++++++++-- include/trace/events/context_tracking.h | 58 ++++++++++++++ init/Kconfig | 28 +++++-- kernel/context_tracking.c | 128 ++++++++++++++++++------------- kernel/sched/core.c | 4 +- kernel/sched/cputime.c | 53 ++++--------- kernel/time/Kconfig | 1 - kernel/time/tick-sched.c | 56 ++++++-------- 16 files changed, 410 insertions(+), 209 deletions(-)