lib/cpumask: update comment for cpumask_local_spread()
authorYury Norov <yury.norov@gmail.com>
Sat, 21 Jan 2023 04:24:36 +0000 (20:24 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Feb 2023 02:20:00 +0000 (18:20 -0800)
commit2ac4980c57f54db7c5b416f7946d2921fc16d9d2
treee446248b006239a53bc21ef49dc7c75262be8870
parent2acda57736de1e486036b90a648e67a3599080a1
lib/cpumask: update comment for cpumask_local_spread()

Now that we have an iterator-based alternative for a very common case
of using cpumask_local_spread for all cpus in a row, it's worth to
mention that in comment to cpumask_local_spread().

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
lib/cpumask.c