[PATCH v2 0/3] sched/fair: Skip attach and detach for new group task in task_move_group_fair()

From: Yuyang Du
Date: Tue May 31 2016 - 02:30:27 EST


Hi Peter,

Vincent reported this problem, which is there for a while.

The first patch is cleanup as well as paving the way to the fix.

Regarding the fix in the second patch, it seems the vruntime part
in the detach and attach does not make sense for new task too, so
I also avoided it.

Thanks,
Yuyang

--
Yuyang Du (3):
sched/fair: Clean up attach_entity_load_avg()
sched/fair: Skip detach and attach new group task
sched/fair: Add inline to detach_entity_load_evg()

kernel/sched/auto_group.c | 2 +-
kernel/sched/core.c | 8 +++---
kernel/sched/fair.c | 61 ++++++++++++++++++++++++---------------------
kernel/sched/sched.h | 4 +--
4 files changed, 40 insertions(+), 35 deletions(-)

--
1.7.9.5