Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 15:58:39 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        Leif Neland <leifn@neland.dk>, freebsd-current@FreeBSD.ORG, Gary Jennejohn <garyj@jennejohn.org>
Subject:   Re: make kernel failure: pecoff: machine/lock.h
Message-ID:  <Pine.BSF.4.21.0102281555160.555-100000@besplex.bde.org>
In-Reply-To: <XFMail.010227144402.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Feb 2001, John Baldwin wrote:

> Ok.  It may be that we are overflowing the kernel stack and corrupting the pcb
> in the process.  One idea atm is to move the pcb off of the stack (since it
> stores persistent data it's a bad place for it anyways) and to add a red zone
> at the bottom of the stack to catch overflows.

Most of the pcb actually has the same persistence as the kernel stack
(both mainly store the process's context while the process is in the
kernel).  But it is silly to put the pcb below the stack instead of
above it.  Perhaps the idea is to get a panic sooner when something
is corrupted.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102281555160.555-100000>