mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Merge tag 'stop-machine.2026.04.16a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
Pull stop-machine update from Paul McKenney: - kernel-doc updates for stop_machine() and stop_machine_cpuslocked() functions * tag 'stop-machine.2026.04.16a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: stop_machine: Fix the documentation for a NULL cpus argument
This commit is contained in:
@@ -99,7 +99,7 @@ static inline void print_stop_info(const char *log_lvl, struct task_struct *task
|
||||
* stop_machine: freeze the machine on all CPUs and run this function
|
||||
* @fn: the function to run
|
||||
* @data: the data ptr to pass to @fn()
|
||||
* @cpus: the cpus to run @fn() on (NULL = run on each online CPU)
|
||||
* @cpus: the cpus to run @fn() on (NULL = one unspecified online CPU)
|
||||
*
|
||||
* Description: This causes a thread to be scheduled on every CPU, which
|
||||
* will run with interrupts disabled. Each CPU specified by @cpus will
|
||||
@@ -133,7 +133,7 @@ int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus);
|
||||
* stop_machine_cpuslocked: freeze the machine on all CPUs and run this function
|
||||
* @fn: the function to run
|
||||
* @data: the data ptr to pass to @fn()
|
||||
* @cpus: the cpus to run @fn() on (NULL = run on each online CPU)
|
||||
* @cpus: the cpus to run @fn() on (NULL = one unspecified online CPU)
|
||||
*
|
||||
* Same as above. Avoids nested calls to cpus_read_lock().
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user