Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

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 mvaisakh committed Apr 24, 2023
1 parent 21c7cb7 commit f483f1e
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 @@ -429,6 +429,7 @@ static struct ctl_table kern_table[] = {
.extra1 = SYSCTL_ZERO,
.extra2 = &sysctl_sched_group_upmigrate_pct,
},
#if 0
{
.procname = "sched_boost",
.data = &sysctl_sched_boost,
Expand All @@ -438,6 +439,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 f483f1e

Please sign in to comment.