FreeBSD/sys/kern/sched_ule.c
/*
 * Find the cpu with the highest load via the highest loaded path.
 */
Find the cpu with the highest load via the highest loaded path.
Find the cpu with the highest load via the highest loaded path .
static inline int
sched_highest(const struct cpu_group *cg, cpuset_t mask, int minload)
{
	struct cpu_search high;
	high.cs_cpu = -1;
	high.cs_mask = mask;
	high.cs_limit = minload;
	cpu_search_highest(cg, &high);
	return high.cs_cpu;
}
static inline int sched_highest ( const struct cpu_group * cg , cpuset_t mask , int minload ) { struct cpu_search high ; high . cs_cpu = -1 ; high . cs_mask = mask ; high . cs_limit = minload ; cpu_search_highest ( cg , & high ) ; return high . cs_cpu ; }
Find the cpu with the highest load via the highest loaded path.
Find the cpu with the highest load via the highest loaded path .