summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHuaixin Chang <changhuaixin@linux.alibaba.com>2020-04-20 05:44:21 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-04-30 21:14:40 +0300
commit5a6d6a6ccb5f48ca8cf7c6d64ff83fd9c7999390 (patch)
tree1f9d369362c55ed780292d621b35251f2db0cf0d /tools/perf/scripts/python/exported-sql-viewer.py
parent457d1f465778ccb5f14f7d7a62245e41d12a3804 (diff)
downloadlinux-5a6d6a6ccb5f48ca8cf7c6d64ff83fd9c7999390.tar.xz
sched/fair: Refill bandwidth before scaling
In order to prevent possible hardlockup of sched_cfs_period_timer() loop, loop count is introduced to denote whether to scale quota and period or not. However, scale is done between forwarding period timer and refilling cfs bandwidth runtime, which means that period timer is forwarded with old "period" while runtime is refilled with scaled "quota". Move do_sched_cfs_period_timer() before scaling to solve this. Fixes: 2e8e19226398 ("sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup") Signed-off-by: Huaixin Chang <changhuaixin@linux.alibaba.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Ben Segall <bsegall@google.com> Reviewed-by: Phil Auld <pauld@redhat.com> Link: https://lkml.kernel.org/r/20200420024421.22442-3-changhuaixin@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions