centos man page for work_on_cpu

Query: work_on_cpu

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

WORK_ON_CPU(9)							   Driver Basics						    WORK_ON_CPU(9)

NAME
work_on_cpu - run a function in user context on a particular cpu
SYNOPSIS
long work_on_cpu(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
Kernel Hackers Manual 3.10 June 2014 WORK_ON_CPU(9)
Related Man Pages
cpu(8) - debian
cpuset_isset(3) - netbsd
cpu(1) - plan9
cpuset_size(3) - netbsd
cpu(8) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!