Date: Wed, 25 Dec 2013 16:25:54 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259875 - head/sys/kern Message-ID: <201312251625.rBPGPsqq003036@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Wed Dec 25 16:25:54 2013 New Revision: 259875 URL: http://svnweb.freebsd.org/changeset/base/259875 Log: In sys/kern/sched_ule.c, remove static function sched_both(), which is unused since r232207. MFC after: 3 days Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c ============================================================================== --- head/sys/kern/sched_ule.c Wed Dec 25 16:14:02 2013 (r259874) +++ head/sys/kern/sched_ule.c Wed Dec 25 16:25:54 2013 (r259875) @@ -813,30 +813,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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312251625.rBPGPsqq003036>