svn commit: r259986 - in stable: 10/sys/kern 9/sys/kern
Dimitry Andric
dim at FreeBSD.org
Sat Dec 28 01:42:20 UTC 2013
Author: dim
Date: Sat Dec 28 01:42:20 2013
New Revision: 259986
URL: http://svnweb.freebsd.org/changeset/base/259986
Log:
MFC r259875:
In sys/kern/sched_ule.c, remove static function sched_both(), which is
unused since r232207.
Modified:
stable/9/sys/kern/sched_ule.c
Directory Properties:
stable/9/sys/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/kern/sched_ule.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/9/sys/kern/sched_ule.c
==============================================================================
--- stable/9/sys/kern/sched_ule.c Sat Dec 28 01:33:42 2013 (r259985)
+++ stable/9/sys/kern/sched_ule.c Sat Dec 28 01:42:20 2013 (r259986)
@@ -779,30 +779,6 @@ sched_highest(const struct cpu_group *cg
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)
{
More information about the svn-src-stable-9
mailing list