Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 16:58:05 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r286326 - releng/10.2/sys/kern
Message-ID:  <201508051658.t75Gw52l020573@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Wed Aug  5 16:58:04 2015
New Revision: 286326
URL: https://svnweb.freebsd.org/changeset/base/286326

Log:
  MFS r286322:
  
  Make the kern.racct.enable tunable actually work.
  
  This is a direct commit to 10-STABLE - 11-CURRENT is not affected,
  because tunables are automatically fetched there.
  
  Approved by:	re (gjb)
  Sponsored by:	The FreeBSD Foundation

Modified:
  releng/10.2/sys/kern/kern_racct.c
Directory Properties:
  releng/10.2/   (props changed)

Modified: releng/10.2/sys/kern/kern_racct.c
==============================================================================
--- releng/10.2/sys/kern/kern_racct.c	Wed Aug  5 16:53:49 2015	(r286325)
+++ releng/10.2/sys/kern/kern_racct.c	Wed Aug  5 16:58:04 2015	(r286326)
@@ -78,6 +78,7 @@ int racct_enable = 1;
 #endif
 
 SYSCTL_NODE(_kern, OID_AUTO, racct, CTLFLAG_RW, 0, "Resource Accounting");
+TUNABLE_INT("kern.racct.enable", &racct_enable);
 SYSCTL_UINT(_kern_racct, OID_AUTO, enable, CTLFLAG_RDTUN, &racct_enable,
     0, "Enable RACCT/RCTL");
 SYSCTL_UINT(_kern_racct, OID_AUTO, pcpu_threshold, CTLFLAG_RW, &pcpu_threshold,



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