diff options
| author | Joonwoo Park <joonwoop@codeaurora.org> | 2016-05-02 16:53:21 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-09 15:09:45 -0700 |
| commit | 8c8a1a12e8396f8c122f2b195acf05131a18e1bd (patch) | |
| tree | d145216a20402c2abe355a8b7a6e9767e0cf0f53 /scripts/objdiff | |
| parent | b33996c5b44ac1f0cf52421112965f2e48271e1f (diff) | |
sched: avoid potential race between governor and thermal driver
It's possible thermal driver and governor notify that fmax is being
changed at the same time. In such case we can potentially skip updating
of CPU's capacity. Fix this by updating capacity always when limited
fmax is changed by same entity.
Meanwhile serialize sched_update_cpu_freq_min_max() with spinlock since
this function can be called by multiple drivers at the same time.
Change-Id: I3608cb09c30797bf858f434579fd07555546fb60
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
