]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched/fair: Fix typo in sync_throttle()
authorXunlei Pang <xlpang@redhat.com>
Sat, 9 Jul 2016 07:54:22 +0000 (15:54 +0800)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 5 Apr 2018 20:58:01 +0000 (13:58 -0700)
commitf329c7d2d5cb087694a267a99edc854bb16b43ef
tree4c71dd97e6a2e8bed4366f3d0b96f83496822b3c
parent53ea1370774d548f23beca9b891504e0b1fe4d79
sched/fair: Fix typo in sync_throttle()

We should update cfs_rq->throttled_clock_task, not
pcfs_rq->throttle_clock_task.

The effects of this bug was probably occasionally erratic
group scheduling, particularly in cgroups-intense workloads.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
[ Added changelog. ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 55e16d30bd99 ("sched/fair: Rework throttle_count sync")
Link: http://lkml.kernel.org/r/1468050862-18864-1-git-send-email-xlpang@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit b8922125e4790fa237a8a4204562ecf457ef54bb)

Orabug: 27787518

Signed-off-by: Gayatri Vasudevan <gayatri.vasudevan@oracle.com>
Reviewed-by: Mridula Shastry <mridula.c.shastry@oracle.com>
kernel/sched/fair.c