Name

schedule_on_each_cpu — execute a function synchronously on each online CPU

Synopsis

int schedule_on_each_cpu (work_func_t func);
 

Arguments

func

the function to call

Description

schedule_on_each_cpu executes func on each online CPU using the system workqueue and blocks until all CPUs have completed. schedule_on_each_cpu is very slow.

RETURNS

0 on success, -errno on failure.