Skip to content

Commit

Permalink
Revert "schedutil: enforce realtime priority"
Browse files Browse the repository at this point in the history
This reverts commit 57a7b91.

The schedutil governor is already placed on a real-time scheduling
policy. Any priority that will be assigned here won't be taken into
account. The scheduling policy will still remain real-time.
Therefore, this is not useful to do at all. Revert it.

Change-Id: b23404b9b61f7762c367cb93f3dd201718ed43bb
Informed-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: TogoFire <italomellopereira@gmail.com>
  • Loading branch information
Tashar02 authored and TogoFire committed Nov 5, 2022
1 parent f869d87 commit 7a45633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched/cpufreq_schedutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ static void sugov_policy_free(struct sugov_policy *sg_policy)
static int sugov_kthread_create(struct sugov_policy *sg_policy)
{
struct task_struct *thread;
struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO - 1 };
struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO / 2 };
struct cpufreq_policy *policy = sg_policy->policy;
int ret;

Expand Down

0 comments on commit 7a45633

Please sign in to comment.