summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorYury Norov [NVIDIA] <yury.norov@gmail.com>2025-06-04 15:39:37 -0400
committerLeon Romanovsky <leon@kernel.org>2025-06-26 05:19:15 -0400
commit16e2707cf15e09234445d40ddd76f11240be8767 (patch)
treefa518e34268b62d59125ddaa2d304ac76bccd7ba /scripts/gdb/linux/interrupts.py
parent43163f4c30f94d2103c948a247cdf2cda5068ca7 (diff)
cpumask: add cpumask_clear_cpus()
When user wants to clear a range in cpumask, the only option the API provides now is a for-loop, like: for_each_cpu_from(cpu, mask) { if (cpu >= ncpus) break; __cpumask_clear_cpu(cpu, mask); } In the bitmap API we have bitmap_clear() for that, which is significantly faster than a for-loop. Propagate it to cpumasks. Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com> Link: https://patch.msgid.link/20250604193947.11834-2-yury.norov@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions