Allow CPU0 to be nohz full
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 12 repliesIn review
- v14 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sched/core: allow the remote scheduler tick to be started on CPU0kernel/ | +1 | 0 replies | |
| 2/5 | PM / suspend: add function to disable secondaries for suspendinclude/ kernel/ kernel/ +1 more | +20 | 0 replies | |
| 3/5 | kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freezearch/ include/ kernel/ +1 more | +28 | 2 replies | |
| 4/5 | kernel/sched/isolation: require a present CPU in housekeeping maskkernel/ | +13 | 7 replies | |
| 5/5 | nohz_full: Allow the boot CPU to be nohz_fullkernel/ kernel/ | +70 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Frederic Weisbecker |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] Allow CPU0 to be nohz full
Since last time, I added a compile time option to opt-out of this if the platform does not support suspend on non-zero, and tried to improve legibility of changelogs and explain the justification better.
I have been testing this on powerpc/pseries and it seems to work fine (the firmware call to suspend can be called on any CPU and resumes where it left off), but not included here because the code has some bitrot unrelated to this series which I hacked to fix. I will discuss it and either send an acked patch to go with this series if it is small, or fix it in powerpc tree.
Thanks,
Nick
Nicholas Piggin (5):
sched/core: allow the remote scheduler tick to be started on CPU0 PM / suspend: add function to disable secondaries for suspend kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec
freeze
kernel/sched/isolation: require a present CPU in housekeeping mask
nohz_full: Allow the boot CPU to be nohz_full
include/linux/cpu.h | 15 ++++++++++++ kernel/cpu.c | 10 +++++++- kernel/kexec_core.c | 4 ++-- kernel/power/Kconfig | 9 +++++++ kernel/power/hibernate.c | 12 +++++----- kernel/power/suspend.c | 4 ++-- kernel/sched/core.c | 2 +- kernel/sched/isolation.c | 18 ++++++++++---- kernel/time/tick-common.c | 50 +++++++++++++++++++++++++++++++++++---- kernel/time/tick-sched.c | 34 ++++++++++++++++++-------- 11 files changed, 131 insertions(+), 31 deletions(-)
Signature · 1 line
2.20.1