sched/fair: Have task_move_group_fair() also detach entity load from the old runqueue
authorByungchul Park <byungchul.park@lge.com>
Thu, 20 Aug 2015 11:21:58 +0000 (20:21 +0900)
committerIngo Molnar <mingo@kernel.org>
Sun, 13 Sep 2015 07:52:47 +0000 (09:52 +0200)
commit1746babbb15594ba2d8d8196589bbbc2b5ff51c9
tree3d9d99fe4e8c2eaf0df1118a1518709c517dcab1
parent50a2a3b246149d041065a67ccb3e98145f780a2f
sched/fair: Have task_move_group_fair() also detach entity load from the old runqueue

Since we attach the entity load to the new runqueue, we should also
detatch the entity load from the old runqueue, otherwise load can
accumulate.

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
[ Rewrote the changelog. ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: yuyang.du@intel.com
Link: http://lkml.kernel.org/r/1440069720-27038-4-git-send-email-byungchul.park@lge.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c