[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4ewVu4WrzW9w67/@visitorckw-System-Product-Name>
Date: Wed, 15 Jan 2025 20:55:50 +0800
From: Kuan-Wei Chiu <visitorckw@...il.com>
To: I Hsin Cheng <richard120310@...il.com>
Cc: yury.norov@...il.com, linux@...musvillemoes.dk,
linux-kernel@...r.kernel.org, jserv@...s.ncku.edu.tw
Subject: Re: [PATCH] cpumask: Rephrase comments for cpu_any*() APIs
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
> 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@...il.com>
With the above corrections:
Reviewed-by: Kuan-Wei Chiu <visitorckw@...il.com>
Regards,
Kuan-Wei
Powered by blists - more mailing lists