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

Message ID 20221103120720.39873-1-zhangqiao22@huawei.com
Headers
Series sched: sched_fork() optimizations |

Message

Zhang Qiao Nov. 3, 2022, 12:07 p.m. UTC
  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(-)
  

Comments

Zhang Qiao Nov. 14, 2022, 3:26 a.m. UTC | #1
在 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(-)
>