summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorUladzislau 2 Rezki <uladzislau2.rezki@sonymobile.com>2017-02-08 09:43:27 +0100
committerMichael Bestas <mkbestas@lineageos.org>2019-12-23 23:43:33 +0200
commit2590a10d3fffb0271466a169db6aabc314503b7d (patch)
tree7d41f639277b0ae0b87a46abadaecf06a78fc0ef /scripts/stackusage
parent541b9f854f466ae2578a52d1ec1d07eaec2d5d50 (diff)
sched: set loop_max after rq lock is taken
While doing a load balance there is a race in setting loop_max variable since nr_running can be changed causing incorect iteration loops. As a result we may skip some candidates or check the same tasks again. Change-Id: I2f58f8fe96c14bd70674e600bc33caeb8aa960c6 Signed-off-by: Uladzislau 2 Rezki <uladzislau2.rezki@sonymobile.com> Signed-off-by: Artem Labazov <123321artyom@gmail.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions