Re: [PATCH] cpumask: Rephrase comments for cpu_any*() APIs
From: Yury Norov
Date: Wed Jan 15 2025 - 10:55:22 EST
On Wed, Jan 15, 2025 at 08:55:50PM +0800, Kuan-Wei Chiu wrote:
> On Wed, Jan 15, 2025 at 03:19:32PM +0800, I Hsin Cheng wrote:
> > The cpu_any*() APIs comment states that it returns a "random" cpu within
> > the given cpumask. Hoever it's not actually random as random itself
>
> s/Hoever/However
Hi I Hsin,
Can you please fix this typo, drop quotes around the 'arbitrary' word,
as suggested by Mark, and send v2?
Please also keep Mark in the loop.
Thanks,
Yury
>
> > stands a meaning for uniform distribution.
> >
> > cpu_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.
> >
> > Signed-off-by: I Hsin Cheng <richard120310@xxxxxxxxx>
>
> With the above corrections:
>
> Reviewed-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
>
> Regards,
> Kuan-Wei