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

Zhang Qiao posted 2 patches 3 years, 5 months ago
kernel/sched/core.c |  7 ++++++-
kernel/sched/fair.c | 11 ++++-------
2 files changed, 10 insertions(+), 8 deletions(-)
[PATCH v2 0/2] sched: sched_fork() optimizations
Posted by Zhang Qiao 3 years, 5 months ago
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
Re: [PATCH v2 0/2] sched: sched_fork() optimizations
Posted by Zhang Qiao 3 years, 4 months ago

在 2022/11/3 20:07, Zhang Qiao 写道:
> 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.
> 

Hello,

Just a gentle ping, let me know if there are any reviews or suggestions
regarding this patchset.

Thank you!
Qiao.

> 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(-)
>