Skip to content

RFC Introduce housekeeping subsystem v2

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12housekeeping: Move housekeeping related code to its own filedrivers/net/ethernet/tile/tilegx.c include/linux/housekeeping.h include/linux/tick.h +9 more+97 -562 replies
2/12watchdog: Use housekeeping_cpumask() instead of ad-hoc versionkernel/watchdog.c+3 -80 replies
3/12housekeeping: Provide a dynamic off-case to housekeeping_any_cpu()include/linux/housekeeping.h+8 -130 replies
4/12housekeeping: Make housekeeping cpumask privateinclude/linux/housekeeping.h kernel/housekeeping.c+42 -220 replies
5/12housekeeping: Use its own static keyinclude/linux/housekeeping.h kernel/housekeeping.c+11 -60 replies
6/12housekeeping: Rename is_housekeeping_cpu to housekeeping_cpuinclude/linux/housekeeping.h kernel/sched/core.c kernel/sched/fair.c+5 -50 replies
7/12housekeeping: Move it under own config, independant from NO_HZinclude/linux/housekeeping.h init/Kconfig kernel/Makefile+11 -40 replies
8/12housekeeping: Introduce housekeeping flagsdrivers/net/ethernet/tile/tilegx.c include/linux/housekeeping.h kernel/housekeeping.c +5 more+43 -300 replies
9/12workqueue: Affine unbound workqueues to housekeeping cpumaskinclude/linux/housekeeping.h kernel/workqueue.c+3 -10 replies
10/12housekeeping: Affine unbound kthreadsinclude/linux/housekeeping.h kernel/kthread.c+4 -20 replies
11/12housekeeping: Handle nohz_full= parameterinclude/linux/housekeeping.h include/linux/tick.h kernel/housekeeping.c +1 more+34 -230 replies
12/12housekeeping: Reimplement isolcpus on housekeepingdrivers/base/cpu.c include/linux/sched.h kernel/cgroup/cpuset.c +3 more+62 -5513 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 00/12] Introduce housekeeping subsystem v2

So after the feedback from the v1, I decided to take it one step further and propose to re-implement isolcpus= on top of housekeeping. I expect it to be controversial because it brings a behaviour change: isolcpus= won't disable load balancing anymore. So you change the affinity of a task at your own risk. OTOH it might make the implementation of isolcpus more extendable, maybe more acceptable for a cpuset interface. I leave you judge.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
core/isolation-v2

HEAD: 79ef9a911551a4f700b057ed794c223bd3a97d7b

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
workqueue: Affine unbound workqueues to housekeeping cpumask
housekeeping: Affine unbound kthreads
housekeeping: Handle nohz_full= parameter
housekeeping: Reimplement isolcpus on housekeeping

 drivers/base/cpu.c                 |  10 ++-
 drivers/net/ethernet/tile/tilegx.c |   6 +-
 include/linux/housekeeping.h       |  52 +++++++++++++++
 include/linux/sched.h              |   2 -
 include/linux/tick.h               |  38 +----------
 init/Kconfig                       |   7 +++
 init/main.c                        |   2 +
 kernel/Makefile                    |   1 +
 kernel/cgroup/cpuset.c             |  13 +---
 kernel/housekeeping.c              | 126 +++++++++++++++++++++++++++++++++++++
 kernel/kthread.c                   |   5 +-
 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            |  19 +-----
 kernel/time/tick-sched.c           |  31 +--------
 kernel/watchdog.c                  |  13 ++--
 kernel/workqueue.c                 |   3 +-
 19 files changed, 230 insertions(+), 132 deletions(-)