[PATCH v3 0/8] sched: Move a series of sysctls starting with sys/kernel/sched_*

Zhen Ni posted 8 patches 4 years, 4 months ago
include/linux/sched/sysctl.h | 41 ---------------
kernel/rcu/rcu.h             |  2 +
kernel/sched/core.c          | 69 ++++++++++++++++++-------
kernel/sched/deadline.c      | 42 +++++++++++++---
kernel/sched/fair.c          | 32 +++++++++++-
kernel/sched/rt.c            | 56 +++++++++++++++++++--
kernel/sched/sched.h         |  7 +++
kernel/sched/topology.c      | 25 +++++++++-
kernel/sysctl.c              | 97 ------------------------------------
9 files changed, 201 insertions(+), 170 deletions(-)
[PATCH v3 0/8] sched: Move a series of sysctls starting with sys/kernel/sched_*
Posted by Zhen Ni 4 years, 4 months ago
move a series of sysctls starting with sys/kernel/sched_* and use the
new register_sysctl_init() to register the sysctl interface.

Zhen Ni (8):
  sched: Move child_runs_first sysctls to fair.c
  sched: Move schedstats sysctls to core.c
  sched: Move rt_period/runtime sysctls to rt.c
  sched: Move deadline_period sysctls to deadline.c
  sched: Move rr_timeslice sysctls to rt.c
  sched: Move uclamp_util sysctls to core.c
  sched: Move cfs_bandwidth_slice sysctls to fair.c
  sched: Move energy_aware sysctls to topology.c

 include/linux/sched/sysctl.h | 41 ---------------
 kernel/rcu/rcu.h             |  2 +
 kernel/sched/core.c          | 69 ++++++++++++++++++-------
 kernel/sched/deadline.c      | 42 +++++++++++++---
 kernel/sched/fair.c          | 32 +++++++++++-
 kernel/sched/rt.c            | 56 +++++++++++++++++++--
 kernel/sched/sched.h         |  7 +++
 kernel/sched/topology.c      | 25 +++++++++-
 kernel/sysctl.c              | 97 ------------------------------------
 9 files changed, 201 insertions(+), 170 deletions(-)

-- 
2.20.1



Re: [PATCH v3 0/8] sched: Move a series of sysctls starting with sys/kernel/sched_*
Posted by Luis Chamberlain 4 years, 4 months ago
On Tue, Feb 15, 2022 at 07:45:56PM +0800, Zhen Ni wrote:
> move a series of sysctls starting with sys/kernel/sched_* and use the
> new register_sysctl_init() to register the sysctl interface.

Peter, Andrew,

I'm starting to get more sysctl patches under kernel/ other than the
scheduler. To avoid low quality patches, try to see proactively what
conflicts may lie ahead, ensure everything is applies on linux-next,
and to ensure all this gets baked through 0-day for a while, I'm
going to shove all pending patches into a sysctl-next branch based on
Linus' tree.

I think it doesn't make sense now to just say, do this for sched for one
release. I think we need to get these more widely tested in a faster
way, and to get conflicts ironed out faster too.

Are you folks OK if say Stephen adds a sysctl-next for linux-next so
we can beat on these there too?

FWIW queued on sysctl-next [0].

[0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=sysctl-next

  Luis
Re: [PATCH v3 0/8] sched: Move a series of sysctls starting with sys/kernel/sched_*
Posted by Andrew Morton 4 years, 4 months ago
On Wed, 16 Feb 2022 23:51:08 -0800 Luis Chamberlain <mcgrof@kernel.org> wrote:

> Are you folks OK if say Stephen adds a sysctl-next for linux-next so
> we can beat on these there too?

Sure.  I just sent you a couple which I've collected.