summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-11-19 18:26:59 +0100
committerPeter Zijlstra <peterz@infradead.org>2025-11-20 12:14:54 +0100
commit79c11fb3da8581a2f222b290ce62a153ab1108fc (patch)
tree3d2bda823bf87244b6c189822da17b51d9adc4f6 /kernel/exit.c
parent437cb3ded25038d5280d21de489ce78c745118d5 (diff)
sched/mmcid: Use cpumask_weighted_or()
Use cpumask_weighted_or() instead of cpumask_or() and cpumask_weight() on the result, which walks the same bitmap twice. Results in 10-20% less cycles, which reduces the runqueue lock hold time. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: Yury Norov (NVIDIA) <yury.norov@gmail.com> Link: https://patch.msgid.link/20251119172549.511736272@linutronix.de
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions