centos man page for cpupri_find

Query: cpupri_find

OS: centos

Section: 9

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

CPUPRI_FIND(9)							   Driver Basics						    CPUPRI_FIND(9)

NAME
cpupri_find - find the best (lowest-pri) CPU in the system
SYNOPSIS
int cpupri_find(struct cpupri * cp, struct task_struct * p, struct cpumask * lowest_mask);
ARGUMENTS
cp The cpupri context p The task lowest_mask A mask to fill in with selected CPUs (or NULL)
NOTE
This function returns the recommended CPUs as calculated during the current invocation. By the time the call returns, the CPUs may have in fact changed priorities any number of times. While not ideal, it is not an issue of correctness since the normal rebalancer logic will correct any discrepancies created by racing against the uncertainty of the current priority configuration.
RETURN
(int)bool - CPUs were found
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 CPUPRI_FIND(9)
Related Man Pages
taskset(1) - suse
chcpu(8) - php
chcpu(8) - freebsd
chcpu(8) - v7
chcpu(8) - sunos
Similar Topics in the Unix Linux Community
Weird 'find' results
DB2 convert digits to binary format
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!