From owner-svn-src-head@FreeBSD.ORG Tue Apr 29 20:51:57 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA69F31F; Tue, 29 Apr 2014 20:51:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C78E71866; Tue, 29 Apr 2014 20:51:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3TKpv1R032747; Tue, 29 Apr 2014 20:51:57 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3TKpvNi032746; Tue, 29 Apr 2014 20:51:57 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201404292051.s3TKpvNi032746@svn.freebsd.org> From: Marius Strobl Date: Tue, 29 Apr 2014 20:51:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r265108 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2014 20:51:57 -0000 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. */