[PATCH next 0/2] sched: sched_fork() optimizations

From: Zhang Qiao
Date: Mon Oct 31 2022 - 08:23:00 EST


sched_fork() use the current cpu init the new task's vruntime,
but the new task maybe not run on this cpu. so this patchset will
fix the problem.

Zhang Qiao (2):
sched: Init new task's vruntime after select cpu
sched: Fix sched_child_runs_first

kernel/sched/core.c | 7 ++++++-
kernel/sched/fair.c | 11 ++++-------
2 files changed, 10 insertions(+), 8 deletions(-)

--
2.17.1