sysctl: Make capacity margins writeable again

Change-Id: I14cc4327f9d7f85b04d1ac507f64e647c16d258f
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Richard Raya 2024-07-18 11:05:53 -03:00
parent db95d0f580
commit 7497ff494a

View File

@ -535,14 +535,14 @@ static struct ctl_table kern_table[] = {
.procname = "sched_upmigrate",
.data = &sysctl_sched_capacity_margin_up,
.maxlen = sizeof(unsigned int) * MAX_MARGIN_LEVELS,
.mode = 0444,
.mode = 0644,
.proc_handler = sched_updown_migrate_handler,
},
{
.procname = "sched_downmigrate",
.data = &sysctl_sched_capacity_margin_down,
.maxlen = sizeof(unsigned int) * MAX_MARGIN_LEVELS,
.mode = 0444,
.mode = 0644,
.proc_handler = sched_updown_migrate_handler,
},
{