In sys/kern/sched_ule.c, remove static function sched_both(), which is
unused since r232207. MFC after: 3 days
This commit is contained in:
parent
8191e23727
commit
3371b88c7b
@ -813,30 +813,6 @@ sched_highest(const struct cpu_group *cg, cpuset_t mask, int minload)
|
||||
return high.cs_cpu;
|
||||
}
|
||||
|
||||
/*
|
||||
* Simultaneously find the highest and lowest loaded cpu reachable via
|
||||
* cg.
|
||||
*/
|
||||
static inline void
|
||||
sched_both(const struct cpu_group *cg, cpuset_t mask, int *lowcpu, int *highcpu)
|
||||
{
|
||||
struct cpu_search high;
|
||||
struct cpu_search low;
|
||||
|
||||
low.cs_cpu = -1;
|
||||
low.cs_prefer = -1;
|
||||
low.cs_pri = -1;
|
||||
low.cs_limit = INT_MAX;
|
||||
low.cs_mask = mask;
|
||||
high.cs_cpu = -1;
|
||||
high.cs_limit = -1;
|
||||
high.cs_mask = mask;
|
||||
cpu_search_both(cg, &low, &high);
|
||||
*lowcpu = low.cs_cpu;
|
||||
*highcpu = high.cs_cpu;
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
sched_balance_group(struct cpu_group *cg)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user