|
@@ -246,6 +246,14 @@ static int max_wakeup_granularity_ns = NSEC_PER_SEC; /* 1 second */
|
|
|
#endif
|
|
|
|
|
|
static struct ctl_table kern_table[] = {
|
|
|
+ {
|
|
|
+ .ctl_name = CTL_UNNUMBERED,
|
|
|
+ .procname = "sched_child_runs_first",
|
|
|
+ .data = &sysctl_sched_child_runs_first,
|
|
|
+ .maxlen = sizeof(unsigned int),
|
|
|
+ .mode = 0644,
|
|
|
+ .proc_handler = &proc_dointvec,
|
|
|
+ },
|
|
|
#ifdef CONFIG_SCHED_DEBUG
|
|
|
{
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
@@ -298,14 +306,6 @@ static struct ctl_table kern_table[] = {
|
|
|
.strategy = &sysctl_intvec,
|
|
|
.extra1 = &zero,
|
|
|
},
|
|
|
- {
|
|
|
- .ctl_name = CTL_UNNUMBERED,
|
|
|
- .procname = "sched_child_runs_first",
|
|
|
- .data = &sysctl_sched_child_runs_first,
|
|
|
- .maxlen = sizeof(unsigned int),
|
|
|
- .mode = 0644,
|
|
|
- .proc_handler = &proc_dointvec,
|
|
|
- },
|
|
|
{
|
|
|
.ctl_name = CTL_UNNUMBERED,
|
|
|
.procname = "sched_features",
|