Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Remove KMEMSTATS.
details: https://anonhg.NetBSD.org/src/rev/8163546febdd
branches: trunk
changeset: 339737:8163546febdd
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Aug 07 13:53:28 2015 +0000
description:
Remove KMEMSTATS.
diffstat:
share/man/man9/malloc.9 | 17 ++---------------
sys/arch/acorn26/conf/FOURMEG | 3 +--
sys/arch/acorn26/conf/INSTALL | 3 +--
sys/arch/acorn32/conf/NC | 3 +--
sys/arch/arc/conf/M403 | 3 +--
sys/arch/arc/conf/PICA | 3 +--
sys/arch/dreamcast/conf/GENERIC | 3 +--
sys/arch/evbarm/conf/ADI_BRH | 3 +--
sys/arch/evbarm/conf/ARMADILLO210 | 3 +--
sys/arch/evbarm/conf/BCM5301X | 3 +--
sys/arch/evbarm/conf/BCM56340 | 3 +--
sys/arch/evbarm/conf/CP3100 | 3 +--
sys/arch/evbarm/conf/GEMINI | 1 -
sys/arch/evbarm/conf/GEMINI_MASTER | 1 -
sys/arch/evbarm/conf/GEMINI_SLAVE | 1 -
sys/arch/evbarm/conf/GENERIC.common | 3 +--
sys/arch/evbarm/conf/GOLDENGATE | 3 +--
sys/arch/evbarm/conf/INTEGRATOR_CP | 3 +--
sys/arch/evbarm/conf/IQ31244 | 3 +--
sys/arch/evbarm/conf/IQ80310 | 3 +--
sys/arch/evbarm/conf/IQ80321 | 3 +--
sys/arch/evbarm/conf/LUBBOCK | 1 -
sys/arch/evbarm/conf/NSLU2 | 3 +--
sys/arch/evbarm/conf/ODROID-U | 3 +--
sys/arch/evbarm/conf/ODROID-XU | 3 +--
sys/arch/evbarm/conf/TEAMASA_NPWR_FC | 3 +--
sys/arch/evbarm/conf/TISDP2420 | 3 +--
sys/arch/evbarm/conf/TISDP2430 | 3 +--
sys/arch/evbarm/conf/VEXPRESS_A15 | 3 +--
sys/arch/evbmips/conf/ALCHEMY | 5 ++---
sys/arch/evbmips/conf/AP30 | 5 ++---
sys/arch/evbmips/conf/CPMBR1400 | 3 +--
sys/arch/evbmips/conf/DB120 | 5 ++---
sys/arch/evbmips/conf/MERAKI | 5 ++---
sys/arch/evbmips/conf/RB433UAH | 5 ++---
sys/arch/evbmips/conf/XLSATX | 5 ++---
sys/arch/evbmips/conf/ZYXELKX | 3 +--
sys/arch/evbppc/conf/EXPLORA451 | 3 +--
sys/arch/evbppc/conf/OPENBLOCKS266 | 5 ++---
sys/arch/evbppc/conf/OPENBLOCKS600 | 5 ++---
sys/arch/hpcarm/conf/IPAQ | 3 +--
sys/arch/i386/conf/GENERIC_PS2TINY | 3 +--
sys/arch/i386/conf/NET4501 | 5 ++---
sys/arch/mmeye/conf/MMTA | 3 +--
sys/arch/mmeye/conf/MMTAICE | 3 +--
sys/arch/mmeye/conf/MMTAROMNEW | 3 +--
sys/arch/mvmeppc/conf/GENERIC | 5 ++---
sys/arch/news68k/conf/GENERIC_TINY | 5 ++---
sys/arch/riscv/conf/GENERIC | 5 ++---
sys/arch/sbmips/conf/GENERIC | 5 ++---
sys/arch/shark/conf/INSTALL | 3 +--
sys/arch/sun2/conf/DISKLESS | 5 ++---
sys/arch/sun2/conf/INSTALL | 5 ++---
sys/arch/sun2/conf/RAMDISK | 3 +--
54 files changed, 66 insertions(+), 132 deletions(-)
diffs (truncated from 1045 to 300 lines):
diff -r cfbd4c27643d -r 8163546febdd share/man/man9/malloc.9
--- a/share/man/man9/malloc.9 Fri Aug 07 08:11:33 2015 +0000
+++ b/share/man/man9/malloc.9 Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.9,v 1.52 2015/05/23 17:05:03 maxv Exp $
+.\" $NetBSD: malloc.9,v 1.53 2015/08/07 13:56:48 maxv Exp $
.\"
.\" Copyright (c) 1996, 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd May 23, 2015
+.Dd August 7, 2015
.Dt MALLOC 9
.Os
.Sh NAME
@@ -249,19 +249,6 @@
Other malloc types are defined by the corresponding subsystem; see the
documentation for that subsystem for information its available malloc
types.
-.Pp
-Statistics based on the
-.Fa type
-argument are maintained only if the kernel option
-.Dv KMEMSTATS
-is used when compiling the kernel
-.Po
-the default in current
-.Nx
-kernels
-.Pc
-and can be examined by using
-.Sq vmstat -m .
.Sh RETURN VALUES
.Fn malloc
returns a kernel virtual address that is suitably aligned for storage of
diff -r cfbd4c27643d -r 8163546febdd sys/arch/acorn26/conf/FOURMEG
--- a/sys/arch/acorn26/conf/FOURMEG Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/acorn26/conf/FOURMEG Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: FOURMEG,v 1.48 2014/08/23 20:26:56 dholland Exp $
+# $NetBSD: FOURMEG,v 1.49 2015/08/07 13:53:28 maxv Exp $
# FOURMEG arm26 configuration -- something small
@@ -89,7 +89,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
#options IRQSTATS # manage IRQ statistics
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
options BUFPAGES=1
#options USERCONF # userconf(4) support
diff -r cfbd4c27643d -r 8163546febdd sys/arch/acorn26/conf/INSTALL
--- a/sys/arch/acorn26/conf/INSTALL Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/acorn26/conf/INSTALL Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.43 2013/08/26 07:14:59 he Exp $
+# $NetBSD: INSTALL,v 1.44 2015/08/07 13:53:28 maxv Exp $
# INSTALL configuration, used to generate installation media
@@ -87,7 +87,6 @@
# Miscellaneous kernel options
#options KTRACE # system call tracing, a la ktrace(1)
#options IRQSTATS # manage IRQ statistics
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
options BUFPAGES=2
options USERCONF # userconf(4) support
diff -r cfbd4c27643d -r 8163546febdd sys/arch/acorn32/conf/NC
--- a/sys/arch/acorn32/conf/NC Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/acorn32/conf/NC Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NC,v 1.64 2014/08/23 20:26:56 dholland Exp $
+# $NetBSD: NC,v 1.65 2015/08/07 13:53:28 maxv Exp $
#
# NC - with wscons
#
@@ -95,7 +95,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
options IRQSTATS # manage IRQ statistics
-options KMEMSTATS # kernel memory statistics
options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
diff -r cfbd4c27643d -r 8163546febdd sys/arch/arc/conf/M403
--- a/sys/arch/arc/conf/M403 Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/arc/conf/M403 Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: M403,v 1.63 2014/08/23 20:26:56 dholland Exp $
+# $NetBSD: M403,v 1.64 2015/08/07 13:53:28 maxv Exp $
#
# configuration file for MIPS Magnum 4000 system
#
@@ -29,7 +29,6 @@
# Diagnostic/debugging support options
options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
-#options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
#options KGDB # remote gdb
diff -r cfbd4c27643d -r 8163546febdd sys/arch/arc/conf/PICA
--- a/sys/arch/arc/conf/PICA Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/arc/conf/PICA Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: PICA,v 1.80 2014/08/23 20:26:56 dholland Exp $
+# $NetBSD: PICA,v 1.81 2015/08/07 13:53:28 maxv Exp $
#
# configuration file for ACER PICA system
#
@@ -30,7 +30,6 @@
# Diagnostic/debugging support options
options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
-#options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
#options KGDB # remote gdb
diff -r cfbd4c27643d -r 8163546febdd sys/arch/dreamcast/conf/GENERIC
--- a/sys/arch/dreamcast/conf/GENERIC Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/dreamcast/conf/GENERIC Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.121 2014/11/16 16:01:40 manu Exp $
+# $NetBSD: GENERIC,v 1.122 2015/08/07 14:12:04 maxv Exp $
#
# GENERIC machine description file
#
@@ -47,7 +47,6 @@
# Diagnostic/debugging support options
#options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
-#options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
#options KGDB # remote debugger
#options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/ADI_BRH
--- a/sys/arch/evbarm/conf/ADI_BRH Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/ADI_BRH Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ADI_BRH,v 1.69 2014/08/23 20:26:57 dholland Exp $
+# $NetBSD: ADI_BRH,v 1.70 2015/08/07 13:53:28 maxv Exp $
#
# ADI_BRH -- ADI Engineering "Big Red Head" i80200 Evaluation Board
#
@@ -113,7 +113,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
options IRQSTATS # manage IRQ statistics
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
options PCIVERBOSE # Verbose PCI descriptions
options MIIVERBOSE # Verbose MII autoconfuration messages
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/ARMADILLO210
--- a/sys/arch/evbarm/conf/ARMADILLO210 Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/ARMADILLO210 Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ARMADILLO210,v 1.34 2014/08/23 20:26:57 dholland Exp $
+# $NetBSD: ARMADILLO210,v 1.35 2015/08/07 13:53:28 maxv Exp $
#
# ARMADILLO210 -- Atmark Techno, Armadillo-210
#
@@ -103,7 +103,6 @@
# Miscellaneous kernel options
#options KTRACE # system call tracing, a la ktrace(1)
#options IRQSTATS # manage IRQ statistics
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options PCIVERBOSE # Verbose PCI descriptions
#options MIIVERBOSE # Verbose MII autoconfuration messages
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/BCM5301X
--- a/sys/arch/evbarm/conf/BCM5301X Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/BCM5301X Fri Aug 07 13:53:28 2015 +0000
@@ -1,5 +1,5 @@
#
-# $NetBSD: BCM5301X,v 1.24 2014/08/24 07:59:22 jnemeth Exp $
+# $NetBSD: BCM5301X,v 1.25 2015/08/07 13:53:28 maxv Exp $
#
# BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#
@@ -129,7 +129,6 @@
options MODULAR # support dynamically loaded kernel modules
options MODULAR_DEFAULT_AUTOLOAD
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
options PCIVERBOSE # Verbose PCI autoconfiguration messages
#options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages
options PCI_NETBSD_CONFIGURE # perform PCI configuration
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/BCM56340
--- a/sys/arch/evbarm/conf/BCM56340 Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/BCM56340 Fri Aug 07 13:53:28 2015 +0000
@@ -1,5 +1,5 @@
#
-# $NetBSD: BCM56340,v 1.9 2014/08/24 07:59:22 jnemeth Exp $
+# $NetBSD: BCM56340,v 1.10 2015/08/07 13:53:28 maxv Exp $
#
# BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#
@@ -129,7 +129,6 @@
options MODULAR # support dynamically loaded kernel modules
options MODULAR_DEFAULT_AUTOLOAD
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
options PCIVERBOSE # Verbose PCI autoconfiguration messages
#options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages
options PCI_NETBSD_CONFIGURE # perform PCI configuration
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/CP3100
--- a/sys/arch/evbarm/conf/CP3100 Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/CP3100 Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CP3100,v 1.42 2014/08/23 20:26:57 dholland Exp $
+# $NetBSD: CP3100,v 1.43 2015/08/07 13:53:28 maxv Exp $
#
# CP3100 -- Certance CP3100 Kernel
#
@@ -113,7 +113,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
options IRQSTATS # manage IRQ statistics
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options PCIVERBOSE # Verbose PCI descriptions
#options MIIVERBOSE # Verbose MII autoconfuration messages
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/GEMINI
--- a/sys/arch/evbarm/conf/GEMINI Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/GEMINI Fri Aug 07 13:53:28 2015 +0000
@@ -104,7 +104,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options MIIVERBOSE # Verbose MII autoconfuration messages
#options DDB_KEYCODE=0x40
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/GEMINI_MASTER
--- a/sys/arch/evbarm/conf/GEMINI_MASTER Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/GEMINI_MASTER Fri Aug 07 13:53:28 2015 +0000
@@ -105,7 +105,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options MIIVERBOSE # Verbose MII autoconfuration messages
#options DDB_KEYCODE=0x40
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/GEMINI_SLAVE
--- a/sys/arch/evbarm/conf/GEMINI_SLAVE Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/GEMINI_SLAVE Fri Aug 07 13:53:28 2015 +0000
@@ -104,7 +104,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options MIIVERBOSE # Verbose MII autoconfuration messages
#options DDB_KEYCODE=0x40
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/GENERIC.common
--- a/sys/arch/evbarm/conf/GENERIC.common Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/GENERIC.common Fri Aug 07 13:53:28 2015 +0000
@@ -1,5 +1,5 @@
#
-# $NetBSD: GENERIC.common,v 1.8 2015/07/22 10:32:16 skrll Exp $
+# $NetBSD: GENERIC.common,v 1.9 2015/08/07 13:53:28 maxv Exp $
#
# GENERIC evbarm kernel config (template)
#
@@ -104,7 +104,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
#options SCSIVERBOSE # Verbose SCSI errors
#options MIIVERBOSE # Verbose MII autoconfuration messages
#options USERCONF # userconf(4) support
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/GOLDENGATE
--- a/sys/arch/evbarm/conf/GOLDENGATE Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/GOLDENGATE Fri Aug 07 13:53:28 2015 +0000
@@ -1,5 +1,5 @@
#
-# $NetBSD: GOLDENGATE,v 1.11 2014/08/23 20:26:57 dholland Exp $
+# $NetBSD: GOLDENGATE,v 1.12 2015/08/07 13:53:28 maxv Exp $
#
# GOLDENGATE -- Cortina GOLDENGATE Eval Board Kernel
#
@@ -124,7 +124,6 @@
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
-#options KMEMSTATS # kernel memory statistics
options PCIVERBOSE # Verbose PCI autoconfiguration messages
#options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages
options PCI_NETBSD_CONFIGURE # perform PCI configuration
diff -r cfbd4c27643d -r 8163546febdd sys/arch/evbarm/conf/INTEGRATOR_CP
--- a/sys/arch/evbarm/conf/INTEGRATOR_CP Fri Aug 07 08:11:33 2015 +0000
+++ b/sys/arch/evbarm/conf/INTEGRATOR_CP Fri Aug 07 13:53:28 2015 +0000
@@ -1,4 +1,4 @@
Home |
Main Index |
Thread Index |
Old Index