DEBUG option does not enable KMEMSTATS

This commit is contained in:
mikel 1997-08-28 07:12:35 +00:00
parent 5010818f51
commit ec79686dcf
1 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $ .\" $NetBSD: options.4,v 1.22 1997/08/28 07:12:35 mikel Exp $
.\" .\"
.\" Copyright (c) 1996 .\" Copyright (c) 1996
.\" Perry E. Metzger. All rights reserved. .\" Perry E. Metzger. All rights reserved.
@ -219,16 +219,15 @@ conditionalized debugging code. Note that many parts of the kernel
(typically device drivers) include their own (typically device drivers) include their own
.Em #ifdef XXX_DEBUG .Em #ifdef XXX_DEBUG
conditionals instead. conditionals instead.
This option also turns on certain other options, notably the This option also turns on certain other options,
.Em KMEMSTATS which may decrease system performance.
option, which may decrease system performance.
.It Cd options DIAGNOSTIC .It Cd options DIAGNOSTIC
Adds code to the kernel that does internal consistency checks. This Adds code to the kernel that does internal consistency checks. This
code will cause the kernel to panic if corruption of internal data code will cause the kernel to panic if corruption of internal data
structures is detected. structures is detected.
.It Cd options KTRACE .It Cd options KTRACE
Add hooks for the system call tracing facility, which allows users to Add hooks for the system call tracing facility, which allows users to
watch the system call invokation behavior of processes. See watch the system call invocation behavior of processes. See
.Xr ktrace 1 .Xr ktrace 1
for details. for details.
.El .El
@ -599,7 +598,7 @@ each component buffer. It defaults to 8.
The kernel memory allocator, The kernel memory allocator,
.Xr malloc 9 , .Xr malloc 9 ,
will keep statistics on its performance if this option is enabled. will keep statistics on its performance if this option is enabled.
Unfortunately, this option therefore essentially disables Unfortunately, this option therefore essentially disables the
.Fn MALLOC .Fn MALLOC
and and
.Fn FREE .Fn FREE
@ -616,8 +615,6 @@ the
.Xr ncr 4 .Xr ncr 4
driver, driver,
and much of the networking code. and much of the networking code.
.Em N.B. This option is silently
.Em turned on by the DEBUG option.
.El .El
.Ss Networking Options .Ss Networking Options
.Bl -ohang .Bl -ohang