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 00ef0ef commit a555e9dCopy full SHA for a555e9d
kernel/sched/fair.c
@@ -6449,8 +6449,7 @@ static void task_dead_fair(struct task_struct *p)
6449
}
6450
#endif /* CONFIG_SMP */
6451
6452
-static unsigned long
6453
-wakeup_gran(struct sched_entity *curr, struct sched_entity *se)
+static unsigned long wakeup_gran(struct sched_entity *se)
6454
{
6455
unsigned long gran = sysctl_sched_wakeup_granularity;
6456
@@ -6492,7 +6491,7 @@ wakeup_preempt_entity(struct sched_entity *curr, struct sched_entity *se)
6492
6491
if (vdiff <= 0)
6493
return -1;
6494
6495
- gran = wakeup_gran(curr, se);
+ gran = wakeup_gran(se);
6496
if (vdiff > gran)
6497
return 1;
6498
0 commit comments