diff options
-rw-r--r-- | sys/kern/sched_ule.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 6b6bbca..e10ac08 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -814,30 +814,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) { |