Date: Sat, 3 Jul 1999 10:31:11 +0930 From: Greg Lehey <grog@lemis.com> To: Mike Smith <mike@smith.net.au> Cc: Mike Smith <msmith@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 machdep.c Message-ID: <19990703103111.F87392@freebie.lemis.com> In-Reply-To: <199907030039.RAA02121@dingo.cdrom.com>; from Mike Smith on Fri, Jul 02, 1999 at 05:39:31PM -0700 References: <19990703100944.D87392@freebie.lemis.com> <199907030039.RAA02121@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 2 July 1999 at 17:39:31 -0700, Mike Smith wrote: >> On Friday, 2 July 1999 at 13:33:35 -0700, Mike Smith wrote: >>> msmith 1999/07/02 13:33:35 PDT >>> >>> Modified files: >>> sys/i386/i386 machdep.c >>> Log: >>> Lightly overhaul the memory sizing code again. >>> >>> - The kernel environment variable 'hw.physmem' can be used to set the >>> amount of physical memory space, based at 0, that FreeBSD will use. >>> Any memory detected over this limit is ignored. Documentation for >>> this is available under 'help set tunables' in the loader. >>> >>> - In the case where system memory size can't be accurately determined, >>> hw.physmem is used as a best-guess memory size, but speculative >>> probing will be used to determine actual memory size if any of the >>> guesses or hints are 16M or more. >> >> Don't these two paragraphs contradict each other? > > No. In the first case, if more than hw.physmem is detected, any excess > is ignored. In the second, if it's not possible to determine how much > memory there is, hw.physmem is used as a working guess in conjunction > with a speculative probe. So depending on factors beyond your control, it either limits the size of memory used, or it doesn't? It seems that you could have found a less confusing and more controllable way to do it. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990703103111.F87392>