[PATCH v7 0/4] sched/fair: Fix attach and detach sched avgs for task group change and sched class change
From: Yuyang Du
Date: Mon Jun 20 2016 - 03:00:44 EST
Hi Peter,
This new version attaches sched avgs in task_move_group_fair(), since Vincent
and Peter are concerned with delaying it to task enqueue, and I agreed.
Thanks a lot to Vincent and Peter.
Thanks,
Yuyang
--
Yuyang Du (4):
sched/fair: Fix attaching task sched avgs twice when switching to
fair or changing task group
sched/fair: Move load and util avgs from wake_up_new_task() to
sched_fork()
sched/fair: Skip detach sched avgs for new task when changing task
groups
sched/fair: Add inline to detach_entity_load_evg()
kernel/sched/core.c | 5 ++-
kernel/sched/fair.c | 106 +++++++++++++++++++++++++++++++-------------------
kernel/sched/sched.h | 2 +-
3 files changed, 71 insertions(+), 42 deletions(-)
--
1.7.9.5