Date: Mon, 24 Sep 2001 18:14:34 -0700 From: Bakul Shah <bakul@bitblocks.com> To: Matt Dillon <dillon@earth.backplane.com> Cc: Ian Dowse <iedowse@maths.tcd.ie>, Julian Elischer <julian@elischer.org>, hackers@FreeBSD.ORG Subject: Re: VM Corruption - stumped, anyone have any ideas? Message-ID: <200109250114.VAA20993@glatton.cnchost.com> In-Reply-To: Your message of "Mon, 24 Sep 2001 17:27:27 PDT." <200109250027.f8P0RRk97980@earth.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109250114.VAA20993>