aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-02-15 19:45:57 +0800
committerLuis Chamberlain <mcgrof@kernel.org>2022-04-06 13:43:43 -0700
commita60707d74bd1d119cf7bcc5101cda912fc46d5e3 (patch)
tree91c01a9c81a6174295b95bde8fbfee1521513bd0 /kernel/sched/sched.h
parentLinux 5.18-rc1 (diff)
downloadlinux-dev-a60707d74bd1d119cf7bcc5101cda912fc46d5e3.tar.xz
linux-dev-a60707d74bd1d119cf7bcc5101cda912fc46d5e3.zip
sched: Move child_runs_first sysctls to fair.c
move child_runs_first sysctls to fair.c and use the new register_sysctl_init() to register the sysctl interface. Signed-off-by: Zhen Ni <nizhen@uniontech.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to '')
-rw-r--r--kernel/sched/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 58263f90c559..767fc1de9646 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -108,6 +108,8 @@ extern __read_mostly int scheduler_running;
extern unsigned long calc_load_update;
extern atomic_long_t calc_load_tasks;
+extern unsigned int sysctl_sched_child_runs_first;
+
extern void calc_global_load_tick(struct rq *this_rq);
extern long calc_load_fold_active(struct rq *this_rq, long adjust);