lkml.org 
[lkml]   [2016]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] sched/fair: Skip attach and detach for new group task in task_move_group_fair()
Date
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

\
 
 \ /
  Last update: 2016-05-31 08:41    [W:0.580 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site