diff options
| author | Shrikanth Hegde <[email protected]> | 2024-01-01 21:16:23 +0530 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2024-02-28 15:11:14 +0100 |
| commit | 8b936fc1d84f7d70009ea34d66bbf6c54c09fae7 (patch) | |
| tree | 80a68a084a309e19fdfa7192912732af786a69b8 /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | 8cec3dd9e5930c82c6bd0af3fdb3a36bcd428310 (diff) | |
sched/fair: Use existing helper functions to access ->avg_rt and ->avg_dl
There are helper functions called cpu_util_dl() and cpu_util_rt() which give
the average utilization of DL and RT respectively. But there are a few
places in code where access to these variables is open-coded.
Instead use the helper function so that code becomes simpler and easier to
maintain later on.
No functional changes intended.
Signed-off-by: Shrikanth Hegde <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions