[PATCH 1/2] sched: sync a se with its cfs_rq when attaching and dettaching

2015-08-13 Thread byungchul . park
From: Byungchul Park current code seems to be wrong with cfs_rq's avg loads when changing a task's cgroup(=cfs_rq) to another. i tested with "echo pid > cgroup" and found that e.g. cfs_rq->avg.load_avg became larger and larger whenever i changed a cgroup to another again and again. we have to

[PATCH 1/2] sched: sync a se with its cfs_rq when attaching and dettaching

2015-08-13 Thread byungchul . park
From: Byungchul Park byungchul.p...@lge.com current code seems to be wrong with cfs_rq's avg loads when changing a task's cgroup(=cfs_rq) to another. i tested with echo pid cgroup and found that e.g. cfs_rq-avg.load_avg became larger and larger whenever i changed a cgroup to another again and