Commit 0f24e11
ANDROID: cpufreq: times: Have two spinlock in different cache line
task_time_in_state_lock and uid_lock currently is
very possiblly in same cache line that will cause
livelock if 2 cores in contention.
Change-Id: I644687c4d610af5e84a43f422a711d386d6d5181
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
(cherry picked from commit bfea4ae591301043498a214cf6ef4e6250106316)1 parent 566b7c8 commit 0f24e11
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments