Run a function in user context on a particular cpu
long work_on_cpu(int cpu, long (*fn) (void *), void * arg);
cpu
the cpu to run on
fn
the function to run
arg
the function arg
It is up to the caller to ensure that the cpu doesn't go offline. The caller must not hold any locks which would prevent fn from completing.
The value fn returns.