other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
WORK_ON_CPU(9) | Driver Basics | WORK_ON_CPU(9) |
NAME¶
work_on_cpu - run a function in user context on a particular cpuSYNOPSIS¶
long
work_on_cpu(int cpu,
long (*fn) (void *),
void * arg);
ARGUMENTS¶
cputhe cpu to run on
fn
the function to run
arg
the function arg
DESCRIPTION¶
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.RETURN¶
The value fn returns.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |