]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clocksource: Use cpumask_next_wrap() in clocksource_watchdog()
authorYury Norov [NVIDIA] <yury.norov@gmail.com>
Sat, 14 Jun 2025 15:50:30 +0000 (11:50 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 14 Jun 2025 18:09:44 +0000 (20:09 +0200)
commitbfa788dc2ddaea7d7930f63a5c7c8f3668a3f2c5
tree26d9a5fe973065a41358b403c91ad72a9d51aaeb
parent4fa7d61d5a02ad57a05c69365db293afddf678fc
clocksource: Use cpumask_next_wrap() in clocksource_watchdog()

cpumask_next_wrap() is more verbose and efficient comparing to
cpumask_next() followed by cpumask_first().

Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20250614155031.340988-3-yury.norov@gmail.com
kernel/time/clocksource.c