Rechercher une page de manuel
work_on_cpu
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
work_on_cpu - run a function in user context on a particular cpuSYNOPSIS
- long work_on_cpu(unsigned int cpu, long (*fn) (void *), void * arg);
ARGUMENTS
cpu
- the cpu to run on
fn
- the function to run
arg
- the function arg
DESCRIPTION
This will return the value fn returns. 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.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre