Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 08:06:14 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r281067 - stable/10/sys/kern
Message-ID:  <201504040806.t3486ESO098553@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Apr  4 08:06:13 2015
New Revision: 281067
URL: https://svnweb.freebsd.org/changeset/base/281067

Log:
  MFC r280797:
  Make debug.vmem_check a tunable.  It is useful to set it early.

Modified:
  stable/10/sys/kern/subr_vmem.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/subr_vmem.c
==============================================================================
--- stable/10/sys/kern/subr_vmem.c	Sat Apr  4 07:59:07 2015	(r281066)
+++ stable/10/sys/kern/subr_vmem.c	Sat Apr  4 08:06:13 2015	(r281067)
@@ -172,7 +172,7 @@ struct vmem_btag {
 
 #if defined(DIAGNOSTIC)
 static int enable_vmem_check = 1;
-SYSCTL_INT(_debug, OID_AUTO, vmem_check, CTLFLAG_RW,
+SYSCTL_INT(_debug, OID_AUTO, vmem_check, CTLFLAG_RWTUN,
     &enable_vmem_check, 0, "Enable vmem check");
 static void vmem_check(vmem_t *);
 #endif



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