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

Zhang Qiao posted 2 patches 3 years, 5 months ago
There is a newer version of this series
kernel/sched/core.c |  7 ++++++-
kernel/sched/fair.c | 11 ++++-------
2 files changed, 10 insertions(+), 8 deletions(-)
[PATCH next 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