Subject: Re: interrupt stack red zones
To: None <port-i386@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: port-i386
Date: 08/19/2007 12:19:59
--X970w0TH+RQTigba
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 19, 2007 at 11:14:00AM +0100, David Laight wrote:
> On Sun, Aug 19, 2007 at 11:21:04AM +0200, Quentin Garnier wrote:
> > On Sun, Aug 19, 2007 at 01:03:31AM -0500, David Young wrote:
> > > I have added red zones to the top and the bottom of the x86 interrupt
> > > stack.  The zones are turned on and off by the same kernel option
> > > (NOREDZONE) as the kernel stack red zone.  See attached patch.  Comme=
nts?
> >=20
> > Please don't use negative options.  So please name it "REDZONE" and
> > if/when you commit, add it to the relevant std configuration file.
>=20
> It is (or at least ought to be) possible to default options to enabled.

That's what conf/std (or arch/${ARCH}/conf.${ARCH}) is for.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--X970w0TH+RQTigba
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRsgZT9goQloHrPnoAQJM4Af8DWsVl5fS11yuXIIMBrxFKGpGSFRtHsi7
2+/Q1+a49NPtcJ36WmAMFJqdcM7BmCKTEvvxBWCQIdi8h7ivEnOvepLurW2AQHF4
fTyKARXaXKoISDDVhig4sp8cmRwf0yjxG/w/D63UiFT7BuDQMZnT6rpgN/TV00jH
CzyFZ4i5bw3u+SUDMSDJRJmYm55Nx+19BUZn5seOhN8kWZb74vMojL8aw4Cqb5Ex
cUZGTx2d461k6aax8DA/jXKC5C5FoH1nFFZvnPUi0irjiZCLMWjGFj/9xTepjMVv
plYiKnFWgFaP8aFFiAjrQ/Z0uFfDpKNJp9DmsJMJXq3znKftznPbug==
=5vK6
-----END PGP SIGNATURE-----

--X970w0TH+RQTigba--