| Date | Fri, 11 Feb 2022 09:45:27 +0000 | From | Sudeep Holla <> | Subject | Re: [PATCH 40/49] firmware: pcsi: replace cpumask_weight with cpumask_weight_eq |
| |
On Thu, Feb 10, 2022 at 02:49:24PM -0800, Yury Norov wrote: > down_and_up_cpus() calls cpumask_weight() to compare the weight of > cpumask with a given number. We can do it more efficiently with > cpumask_weight_{eq, ...} because conditional cpumask_weight may stop > traversing the cpumask earlier, as soon as condition is (or can't be) met. >
Nit: s/pcsi/psci/ in $subject. With that fixed,
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
-- Regards, Sudeep
|