public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH next 0/2] sched: sched_fork() optimizations
@ 2022-10-31 12:51 Zhang Qiao
  2022-10-31 12:51 ` [PATCH next 1/2] sched: Init new task's vruntime after select cpu Zhang Qiao
  2022-10-31 12:51 ` [PATCH next 2/2] sched: Fix sched_child_runs_first Zhang Qiao
  0 siblings, 2 replies; 5+ messages in thread
From: Zhang Qiao @ 2022-10-31 12:51 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot
  Cc: zhangqiao22, dietmar.eggemann, rostedt, bsegall, mgorman, bristot,
	vschneid, brauner, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-01 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31 12:51 [PATCH next 0/2] sched: sched_fork() optimizations Zhang Qiao
2022-10-31 12:51 ` [PATCH next 1/2] sched: Init new task's vruntime after select cpu Zhang Qiao
2022-10-31 14:23   ` kernel test robot
2022-11-01 10:46   ` kernel test robot
2022-10-31 12:51 ` [PATCH next 2/2] sched: Fix sched_child_runs_first Zhang Qiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox