From owner-freebsd-hackers Mon Sep 24 17:48: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id F35EA37B420 for ; Mon, 24 Sep 2001 17:47:58 -0700 (PDT) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA52438; Mon, 24 Sep 2001 18:27:05 -0700 (PDT) Date: Mon, 24 Sep 2001 18:27:05 -0700 (PDT) From: Julian Elischer To: Matt Dillon Cc: Ian Dowse , hackers@FreeBSD.ORG Subject: Re: VM Corruption - stumped, anyone have any ideas? In-Reply-To: <200109250027.f8P0RRk97980@earth.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG stack can be somewhat sparse depending on execution path, but it's not a bad idea.. On Mon, 24 Sep 2001, Matt Dillon wrote: > :In message <200109242322.f8ONMaT97469@earth.backplane.com>, Matt Dillon writes: > :> > :> Hmm. Do we have a guard page at the base of the per process kernel > :> stack? > : > :As I understand it, no. In RELENG_4 there are UPAGES (== 2 on i386) > :pages of per-process kernel state at p->p_addr. The stack grows > :down from the top, and struct user (sys/user.h) sits at the bottom. > :According to the comment in the definition of struct user, only > :the first three items in struct user are valid in normal running > :conditions: > > Ok. I'm going to add a magic number to the end of the process > structure and check it in mi_switch() in -stable. > > -Matt > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message