svn commit: r265108 - head/sys/kern

Marius Strobl marius at FreeBSD.org
Tue Apr 29 20:51:57 UTC 2014


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. */


More information about the svn-src-all mailing list