Date: Tue, 27 Feb 2001 21:36:12 -0800 From: Julian Elischer <julian@elischer.org> To: Bruce Evans <bde@zeta.org.au> Cc: John Baldwin <jhb@FreeBSD.ORG>, 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: <3A9C8E4C.C19E7F68@elischer.org> References: <Pine.BSF.4.21.0102281555160.555-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: > > 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. I have never understood why the context is not ON the stack. > > Bruce > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v 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?3A9C8E4C.C19E7F68>