From owner-freebsd-hackers Mon Sep 24 18:14:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from glatton.cnchost.com (glatton.cnchost.com [207.155.248.47]) by hub.freebsd.org (Postfix) with ESMTP id 552A737B417 for ; Mon, 24 Sep 2001 18:14:50 -0700 (PDT) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by glatton.cnchost.com id VAA20993; Mon, 24 Sep 2001 21:14:35 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200109250114.VAA20993@glatton.cnchost.com> To: Matt Dillon Cc: Ian Dowse , Julian Elischer , hackers@FreeBSD.ORG Subject: Re: VM Corruption - stumped, anyone have any ideas? In-reply-to: Your message of "Mon, 24 Sep 2001 17:27:27 PDT." <200109250027.f8P0RRk97980@earth.backplane.com> Date: Mon, 24 Sep 2001 18:14:34 -0700 From: Bakul Shah 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 FWIW, in a Unix port we did I remember putting the user struct *above* the kernel stack. The stack grew down so you hit the red zone (the guard pages) without clobbering the user struct. Since struct user _ended_ on a page boundary, its size was needed at locore.s assembly time but that was a small price to pay for the added safety. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message