Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'smp-core-2025-09-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull smp doc fixlet from Thomas Gleixner:
"An update of the stale smp_call_function_many() documentation to bring
it back in sync with the actual implementation"

* tag 'smp-core-2025-09-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
smp: Fix up and expand the smp_call_function_many() kerneldoc

+5 -6
+5 -6
kernel/smp.c
··· 884 884 * @mask: The set of cpus to run on (only runs on online subset). 885 885 * @func: The function to run. This must be fast and non-blocking. 886 886 * @info: An arbitrary pointer to pass to the function. 887 - * @wait: Bitmask that controls the operation. If %SCF_WAIT is set, wait 888 - * (atomically) until function has completed on other CPUs. If 889 - * %SCF_RUN_LOCAL is set, the function will also be run locally 890 - * if the local CPU is set in the @cpumask. 891 - * 892 - * If @wait is true, then returns once @func has returned. 887 + * @wait: If true, wait (atomically) until function has completed 888 + * on other CPUs. 893 889 * 894 890 * You must not call this function with disabled interrupts or from a 895 891 * hardware interrupt handler or from a bottom half handler. Preemption 896 892 * must be disabled when calling this function. 893 + * 894 + * @func is not called on the local CPU even if @mask contains it. Consider 895 + * using on_each_cpu_cond_mask() instead if this is not desirable. 897 896 */ 898 897 void smp_call_function_many(const struct cpumask *mask, 899 898 smp_call_func_t func, void *info, bool wait)