hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/kernel/sched/fair.c
....@@ -4431,7 +4431,7 @@
44314431 if (skip_preempt)
44324432 return;
44334433 if (delta_exec > ideal_runtime) {
4434
- resched_curr_lazy(rq_of(cfs_rq));
4434
+ resched_curr(rq_of(cfs_rq));
44354435 /*
44364436 * The current task ran long enough, ensure it doesn't get
44374437 * re-elected due to buddy favours.
....@@ -4455,7 +4455,7 @@
44554455 return;
44564456
44574457 if (delta > ideal_runtime)
4458
- resched_curr_lazy(rq_of(cfs_rq));
4458
+ resched_curr(rq_of(cfs_rq));
44594459 }
44604460
44614461 void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
....@@ -4604,7 +4604,7 @@
46044604 * validating it and just reschedule.
46054605 */
46064606 if (queued) {
4607
- resched_curr_lazy(rq_of(cfs_rq));
4607
+ resched_curr(rq_of(cfs_rq));
46084608 return;
46094609 }
46104610 /*
....@@ -4741,7 +4741,7 @@
47414741 * hierarchy can be throttled
47424742 */
47434743 if (!assign_cfs_rq_runtime(cfs_rq) && likely(cfs_rq->curr))
4744
- resched_curr_lazy(rq_of(cfs_rq));
4744
+ resched_curr(rq_of(cfs_rq));
47454745 }
47464746
47474747 static __always_inline
....@@ -5476,7 +5476,7 @@
54765476
54775477 if (delta < 0) {
54785478 if (rq->curr == p)
5479
- resched_curr_lazy(rq);
5479
+ resched_curr(rq);
54805480 return;
54815481 }
54825482 hrtick_start(rq, delta);
....@@ -7211,7 +7211,7 @@
72117211 return;
72127212
72137213 preempt:
7214
- resched_curr_lazy(rq);
7214
+ resched_curr(rq);
72157215 /*
72167216 * Only set the backward buddy when the current task is still
72177217 * on the rq. This can happen when a wakeup gets interleaved
....@@ -11060,7 +11060,7 @@
1106011060 * 'current' within the tree based on its new key value.
1106111061 */
1106211062 swap(curr->vruntime, se->vruntime);
11063
- resched_curr_lazy(rq);
11063
+ resched_curr(rq);
1106411064 }
1106511065
1106611066 se->vruntime -= cfs_rq->min_vruntime;
....@@ -11087,7 +11087,7 @@
1108711087 */
1108811088 if (rq->curr == p) {
1108911089 if (p->prio > oldprio)
11090
- resched_curr_lazy(rq);
11090
+ resched_curr(rq);
1109111091 } else
1109211092 check_preempt_curr(rq, p, 0);
1109311093 }