We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb71e3 commit bc9057dCopy full SHA for bc9057d
kernel/sched/cpufreq_schedutil.c
@@ -654,9 +654,9 @@ static int sugov_kthread_create(struct sugov_policy *sg_policy)
654
* Fake (unused) bandwidth; workaround to "fix"
655
* priority inheritance.
656
*/
657
- .sched_runtime = 1000000,
658
- .sched_deadline = 10000000,
659
- .sched_period = 10000000,
+ .sched_runtime = NSEC_PER_MSEC,
+ .sched_deadline = 10 * NSEC_PER_MSEC,
+ .sched_period = 10 * NSEC_PER_MSEC,
660
};
661
struct cpufreq_policy *policy = sg_policy->policy;
662
int ret;
0 commit comments