diff options
author | Valentin Schneider <[email protected]> | 2019-12-11 11:38:48 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-12-25 10:42:08 +0100 |
commit | 686516b55e98edf18c2a02d36aaaa6f4c0f6c39c (patch) | |
tree | 64105ccc36ecc1bd65aa62c8482a045d87f15f33 /scripts/bpf_helpers_doc.py | |
parent | 59fe675248ffc37d4167e9ec6920a2f3d5ec67bb (diff) |
sched/uclamp: Make uclamp util helpers use and return UL values
Vincent pointed out recently that the canonical type for utilization
values is 'unsigned long'. Internally uclamp uses 'unsigned int' values for
cache optimization, but this doesn't have to be exported to its users.
Make the uclamp helpers that deal with utilization use and return unsigned
long values.
Tested-By: Dietmar Eggemann <[email protected]>
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Quentin Perret <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions