Files
Linux/kernel/irq
Yury Norov 99248e351a genirq/affinity: replace cpumask_weight with cpumask_empty where appropriate
__irq_build_affinity_masks() calls cpumask_weight() to check if
any bit of a given cpumask is set. We can do it more efficiently with
cpumask_empty() because cpumask_empty() stops traversing the cpumask as
soon as it finds first set bit, while cpumask_weight() counts all bits
unconditionally.

Signed-off-by: Yury Norov <[email protected]>
2022-06-03 06:52:57 -07:00
..
…
…
2021-03-22 04:23:14 +01:00
…
2022-01-22 08:33:37 +02:00
2021-05-17 20:01:35 +02:00