diff options
author | Shrikanth Hegde <sshegde@linux.ibm.com> | 2024-03-25 11:15:05 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-03-28 11:30:13 +0100 |
commit | caac6291728ed5493d8a53f4b086c270849ce0c4 (patch) | |
tree | be594ceef7871ecbe8d3df3329d63ece9445322e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c628db0a6831f80e89873ee44f1b40e3ab3216c6 (diff) |
sched/fair: Use helper functions to access root_domain::overload
Introduce two helper functions to access & set the root_domain::overload flag:
get_rd_overload()
set_rd_overload()
To make sure code is always following READ_ONCE()/WRITE_ONCE() access methods.
No change in functionality intended.
[ mingo: Renamed the accessors to get_/set_rd_overload(), tidied up the changelog. ]
Suggested-by: Qais Yousef <qyousef@layalina.io>
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/20240325054505.201995-3-sshegde@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions