Merge tag 'sched-urgent-2023-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "Fix a recently introduced use-after-free bug" * tag 'sched-urgent-2023-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/eevdf: Fix heap corruption more
This commit is contained in:
@ -3657,6 +3657,7 @@ static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
|
|||||||
*/
|
*/
|
||||||
deadline = div_s64(deadline * old_weight, weight);
|
deadline = div_s64(deadline * old_weight, weight);
|
||||||
se->deadline = se->vruntime + deadline;
|
se->deadline = se->vruntime + deadline;
|
||||||
|
if (se != cfs_rq->curr)
|
||||||
min_deadline_cb_propagate(&se->run_node, NULL);
|
min_deadline_cb_propagate(&se->run_node, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user