Skip to content

Commit

Permalink
sysctl: Nuke sched_boost feature
Browse files Browse the repository at this point in the history
This is perhaps the worst performance-related feature ever, and is
thoroughly abused by userspace in all the worst ways possible.
Triggering a massive task migration via sched_boost during
latency-critical operations such as app launches is a very bad idea, and
leads to noticeably-horrible stuttering.

Signed-off-by: Sultan Alsawaf <[email protected]>
Signed-off-by: Danny Lin <[email protected]>
Signed-off-by: Tashfin Shakeer Rhythm <[email protected]>
  • Loading branch information
kerneltoast authored and NotZeetaa committed Sep 27, 2022
1 parent 6106c54 commit f38baa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ static struct ctl_table kern_table[] = {
.extra1 = &zero,
.extra2 = &sysctl_sched_group_upmigrate_pct,
},
#if 0
{
.procname = "sched_boost",
.data = &sysctl_sched_boost,
Expand All @@ -452,6 +453,7 @@ static struct ctl_table kern_table[] = {
.extra1 = &neg_three,
.extra2 = &three,
},
#endif
{
.procname = "sched_conservative_pl",
.data = &sysctl_sched_conservative_pl,
Expand Down

0 comments on commit f38baa9

Please sign in to comment.