Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 document KSTACK_CHECK_MAGIC.



details:   https://anonhg.NetBSD.org/src/rev/3d1f810ba4de
branches:  trunk
changeset: 533517:3d1f810ba4de
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Jul 03 02:19:55 2002 +0000

description:
document KSTACK_CHECK_MAGIC.

diffstat:

 share/man/man4/options.4 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 7a4569e0d684 -r 3d1f810ba4de share/man/man4/options.4
--- a/share/man/man4/options.4  Wed Jul 03 01:42:59 2002 +0000
+++ b/share/man/man4/options.4  Wed Jul 03 02:19:55 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: options.4,v 1.172 2002/06/18 06:11:29 augustss Exp $
+.\"    $NetBSD: options.4,v 1.173 2002/07/03 02:19:55 yamt Exp $
 .\"
 .\" Copyright (c) 1996
 .\"    Perry E. Metzger.  All rights reserved.
@@ -401,6 +401,10 @@
 Adds code to the kernel that does internal consistency checks.
 This code will cause the kernel to panic if corruption of internal data
 structures is detected. These checks can decrease performance up to 15%.
+.It Cd options KSTACK_CHECK_MAGIC
+Check kernel stack usage and panic if stack overflow is detected.
+This check is performance sensitive because it scans stack on each context
+switch.
 .It Cd options KTRACE
 Add hooks for the system call tracing facility, which allows users to
 watch the system call invocation behavior of processes.



Home | Main Index | Thread Index | Old Index