Date: Sat, 22 Feb 2003 11:56:20 -0800 From: "Luoqi Chen" <lchen@briontech.com> To: "Marc G. Fournier" <scrappy@hub.org> Cc: <freebsd-stable@FreeBSD.ORG>, <Tor.Egge@cvsup.no.freebsd.org>, <freebsd-emulation@FreeBSD.ORG> Subject: RE: Raising KVA_PAGES breaks linux emulation? Message-ID: <AHEKICEOIHLOGINAFIINMENBCAAA.lchen@briontech.com> In-Reply-To: <20030222152602.C61064@hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> For instance, since setting KVA_PAGES in the kernel config doesn't cover > everything, and, as I've experienced so far, causes some serious problems, > would it be better to suggest that someone sets it in make.conf? From a > quick perusal of /etc/defaults/make.conf, my guess is that I'd have to > set: > > COPTFLAGS= -O -pipe -DKVA_PAGES=512 > -and- > CFLAGS= -O -pipe -DKVA_PAGES=512 > > Will that cover it all, or is there a problem with doing it that way? Or > is there a better way of doing this? > Module builds seem to use CFLAGS (while kernel builds use COPTFLAGS). A better way is to have kernel Makefile passing opt_global.h to the modules. The best solution for this particular problem would probably be changing USRSTACK to a global variable instead of a #define. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AHEKICEOIHLOGINAFIINMENBCAAA.lchen>