diff options
author | 2025-01-17 22:27:24 +0800 | |
---|---|---|
committer | 2025-01-19 13:45:35 -0500 | |
commit | e876695aab1e3d4743e11633219cea456820660b (patch) | |
tree | fbc357514c376c3d5260ab0f23f80d35241d3b59 /scripts/generate_rust_analyzer.py | |
parent | cpu: Remove unused init_cpu_online (diff) | |
download | wireguard-linux-e876695aab1e3d4743e11633219cea456820660b.tar.xz wireguard-linux-e876695aab1e3d4743e11633219cea456820660b.zip |
cpumask: Rephrase comments for cpumask_any*() APIs
The cpumask_any*() APIs comment states that it returns a "random" cpu
within the given cpumask. However it's not actually random as random
itself stands a meaning for uniform distribution.
cpumask_any*() APIs are a naming convention for the caller to states that
it doesn't care which CPU it gets, so change "random" to "arbitrary" would
be more appropriate.
CC: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions