Date: Wed, 28 Feb 2001 22:38:32 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Julian Elischer <julian@elischer.org> 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: <Pine.BSF.4.21.0102282234160.2593-100000@besplex.bde.org> In-Reply-To: <3A9C8E4C.C19E7F68@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Feb 2001, Julian Elischer wrote: > Bruce Evans wrote: > > 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. At least on i386's, it is because the context is not all saved in LIFO order. The pcb gets the non-LIFO stuff. E.g., the FP state is saved lazily, not pushed on every entry to the kernel. 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.0102282234160.2593-100000>