summaryrefslogtreecommitdiff
path: root/drivers/devfreq/devfreq.c
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-11-03 17:26:32 -0700
committerJoonwoo Park <joonwoop@codeaurora.org>2016-11-04 17:25:30 -0700
commitdfb9634d037fefd3496161959bf7a4a0ad4e59d5 (patch)
tree6946861a4b29b88ed9d88520776a08c3865e7965 /drivers/devfreq/devfreq.c
parent758693b4a6d94a0724081578d24f6ba1cc449255 (diff)
sched: prevent race between disable window statistics and task grouping
Change of colocation group requires to finish CPU busy time accounting prior to its operation by calling update_task_ravg(). However when window statistics accounting is disabled, update_task_ravg() acts as nop and results in incorrect CPU time accounting. Disallow colocation group change while window statistics accounting is disabled in order to prevent race between reset_all_window_stats() and colocation grouping functions. Change-Id: I6dfa20b8d8b0ae7ccc94119bf9cf14c5e11a1cf7 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/devfreq.c')
0 files changed, 0 insertions, 0 deletions