Introduce housekeeping subsystem v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | housekeeping: Move housekeeping related code to its own filedrivers/ include/ include/ +9 more | +97 | 0 replies | |
| 2/12 | watchdog: Use housekeeping_cpumask() instead of ad-hoc versionkernel/ | +3 | 0 replies | |
| 3/12 | housekeeping: Provide a dynamic off-case to housekeeping_any_cpu()include/ | +8 | 0 replies | |
| 4/12 | housekeeping: Make housekeeping cpumask privateinclude/ kernel/ | +42 | 0 replies | |
| 5/12 | housekeeping: Use its own static keyinclude/ kernel/ | +11 | 0 replies | |
| 6/12 | housekeeping: Rename is_housekeeping_cpu to housekeeping_cpuinclude/ kernel/ kernel/ | +5 | 0 replies | |
| 7/12 | housekeeping: Move it under own config, independant from NO_HZinclude/ init/ kernel/ | +11 | 0 replies | |
| 8/12 | housekeeping: Introduce housekeeping flagsdrivers/ include/ kernel/ +5 more | +43 | 0 replies | |
| 9/12 | housekeeping: Handle nohz_full= parameterinclude/ include/ kernel/ +1 more | +36 | 0 replies | |
| 10/12 | housekeeping: Move isolcpus to housekeepingdrivers/ include/ include/ +4 more | +67 | 0 replies | |
| 11/12 | housekeeping: Add basic isolcpus flagskernel/ | +25 | 0 replies | |
| 12/12 | housekeeping: Document isolcpus flagsDocumentation/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/12] Introduce housekeeping subsystem v3
So this time I didn't change the implementation of isolcpus which relies on NULL domains, I only pulled it to the housekeeping subsystem.
Summary of changes from v2:
* "isolcpus=" takes flags, which allows us to control nohz through it. For example:
isolcpus=nohz,1-7 -- enable nohz_full to CPUs 1 to 7
isolcpus=nohz,domain,1-7 -- enable nohz_full and isolate CPUs 1 to 7
If no flags are passed, the default flag is "domain", so the kernel parameter is backward compatible.
More flags should be added in the future to isolate a CPU from more details. We just need to debate how finegrained we want that.
We also want to make sure that what is passed to isolcpus is later modifiable through cpusets.
* Remove workqueue and kthread isolation, we'll think about those later once we have an interface for them in the isolcpus flags.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
core/isolation-v3
HEAD: f1292ff748c3f5cdff0c29a3a43b2231ac5005cf
Thanks,
Frederic
---
Frederic Weisbecker (12):
housekeeping: Move housekeeping related code to its own file
watchdog: Use housekeeping_cpumask() instead of ad-hoc version
housekeeping: Provide a dynamic off-case to housekeeping_any_cpu()
housekeeping: Make housekeeping cpumask private
housekeeping: Use its own static key
housekeeping: Rename is_housekeeping_cpu to housekeeping_cpu
housekeeping: Move it under own config, independant from NO_HZ
housekeeping: Introduce housekeeping flags
housekeeping: Handle nohz_full= parameter
housekeeping: Move isolcpus to housekeeping
housekeeping: Add basic isolcpus flags
housekeeping: Document isolcpus flags
Documentation/admin-guide/kernel-parameters.txt | 33 +++--- drivers/base/cpu.c | 11 +- drivers/net/ethernet/tile/tilegx.c | 6 +- include/linux/housekeeping.h | 51 ++++++++ include/linux/sched.h | 2 - include/linux/tick.h | 38 +----- init/Kconfig | 7 ++ init/main.c | 2 + kernel/Makefile | 1 + kernel/cgroup/cpuset.c | 14 +-- kernel/housekeeping.c | 148 ++++++++++++++++++++++++ kernel/rcu/tree_plugin.h | 3 +- kernel/rcu/update.c | 3 +- kernel/sched/core.c | 25 +--- kernel/sched/fair.c | 3 +- kernel/sched/topology.c | 21 +--- kernel/time/tick-sched.c | 31 +---- kernel/watchdog.c | 13 +-- 18 files changed, 272 insertions(+), 140 deletions(-)