diff options
author | Shrikanth Hegde <[email protected]> | 2024-03-25 11:15:05 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-03-28 11:30:13 +0100 |
commit | caac6291728ed5493d8a53f4b086c270849ce0c4 (patch) | |
tree | be594ceef7871ecbe8d3df3329d63ece9445322e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
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 <[email protected]>
Signed-off-by: Shrikanth Hegde <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Qais Yousef <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions