]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smp: Defer check for local execution in smp_call_function_many_cond()
authorYury Norov [NVIDIA] <yury.norov@gmail.com>
Mon, 23 Jun 2025 00:00:09 +0000 (20:00 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Jul 2025 17:13:14 +0000 (19:13 +0200)
commite0e9506523fea415e0d5abaa103fd67dc8a39696
tree619d4dfb848c6c87408cdd3e2022ca0d5c1c5332
parent976e0e3103e463725e19a5493d02ce7b7b380663
smp: Defer check for local execution in smp_call_function_many_cond()

Defer check for local execution to the actual place where it is needed,
which removes the extra local variable.

Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250623000010.10124-5-yury.norov@gmail.com
kernel/smp.c