[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jun 2016 08:20:36 +0800
From: Yuyang Du <yuyang.du@...el.com>
To: peterz@...radead.org, mingo@...nel.org,
linux-kernel@...r.kernel.org
Cc: bsegall@...gle.com, pjt@...gle.com, morten.rasmussen@....com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
Yuyang Du <yuyang.du@...el.com>
Subject: [PATCH v4 0/5] sched/fair: Fix attach and detach sched avgs for task group change or sched class change
Hi Peter,
It seems the problem is worse, the attach twice issue can happen not only as
Vincent raised when task moves between groups, but also when switching to fair
class. In addition, for newly forked task, the detach and attach also have
problems.
Thanks a lot to Vincent. This new version mainly addresses his comments to
reword the description of the problem.
Thanks,
Yuyang
--
Yuyang Du (5):
sched/fair: Clean up attach_entity_load_avg()
sched/fair: Fix attaching task sched avgs twice when switching to
fair or changing task group
sched/fair: Skip detach sched avgs for new task when changing task
groups
sched/fair: Move load and util avgs from wake_up_new_task() to
sched_fork()
sched/fair: Add inline to detach_entity_load_evg()
kernel/sched/auto_group.c | 2 +-
kernel/sched/core.c | 13 ++++----
kernel/sched/fair.c | 76 ++++++++++++++++++++-------------------------
kernel/sched/sched.h | 6 ++--
4 files changed, 45 insertions(+), 52 deletions(-)
--
1.7.9.5
Powered by blists - more mailing lists