Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2014 20:51:57 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265108 - head/sys/kern
Message-ID:  <201404292051.s3TKpvNi032746@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Tue Apr 29 20:51:57 2014
New Revision: 265108
URL: http://svnweb.freebsd.org/changeset/base/265108

Log:
  Given that as of r258002 the last external user is gone, make sched_lock
  static.

Modified:
  head/sys/kern/sched_4bsd.c

Modified: head/sys/kern/sched_4bsd.c
==============================================================================
--- head/sys/kern/sched_4bsd.c	Tue Apr 29 20:49:47 2014	(r265107)
+++ head/sys/kern/sched_4bsd.c	Tue Apr 29 20:51:57 2014	(r265108)
@@ -116,7 +116,7 @@ struct td_sched {
     CPU_ISSET((cpu), &(td)->td_cpuset->cs_mask)
 
 static struct td_sched td_sched0;
-struct mtx sched_lock;
+static struct mtx sched_lock;
 
 static int	realstathz = 127; /* stathz is sometimes 0 and run off of hz. */
 static int	sched_tdcnt;	/* Total runnable threads in the system. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404292051.s3TKpvNi032746>