diff options
| author | Todd Poynor <toddpoynor@google.com> | 2017-04-10 18:31:28 -0700 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-26 21:01:08 +0200 |
| commit | e9a289d1ffa72a1d9cc16b8e2c14479f9306f3e4 (patch) | |
| tree | 53baf6c090f41ff7e386e76e53dba8641c51d7ce /tools/perf/scripts/python | |
| parent | c0480aef1077795f97414ff7f73f32a4f8e682d8 (diff) | |
ANDROID: sched/walt: make walt_ktime_suspended __read_mostly
Most walt variables in hot code paths are __read_mostly and grouped
together in the .data section, including these variables that show
up as frequently accessed in gem5 simulation: walt_ravg_window,
walt_disabled, walt_account_wait_time, and
walt_freq_account_wait_time.
The exception is walt_ktime_suspended, which is also accessed in many
of the same hot paths. It is also almost entirely accessed by reads.
Move it to __read_mostly in hopes of keeping it in the same cache line
as the other hot data.
Change-Id: I8c9e4ee84e5a0328b943752ee9ed47d4e006e7de
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
