diff options
author | Shrikanth Hegde <sshegde@linux.ibm.com> | 2024-03-07 14:27:24 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-03-26 08:58:59 +0100 |
commit | d0f5d3cefc259f498456338d319098dc84393b24 (patch) | |
tree | fafa3543636916db4cf355cc0716286f67dedd1a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | be3a51e68f2f1b17250ce40d8872c7645b7a2991 (diff) |
sched/fair: Introduce is_rd_overutilized() helper function to access root_domain::overutilized
The root_domain::overutilized field is READ_ONCE() accessed in
multiple places, which could be simplified with a helper function.
This might also make it more apparent that it needs to be used
only in case of EAS.
No change in functionality intended.
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Qais Yousef <qyousef@layalina.io>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20240307085725.444486-3-sshegde@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions