From owner-cvs-all Fri Jul 2 18: 1:30 1999 Delivered-To: cvs-all@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id EFE1A1519E; Fri, 2 Jul 1999 18:01:13 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA14716; Sat, 3 Jul 1999 10:31:12 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA02400; Sat, 3 Jul 1999 10:31:11 +0930 (CST) Date: Sat, 3 Jul 1999 10:31:11 +0930 From: Greg Lehey To: Mike Smith Cc: Mike Smith , 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> References: <19990703100944.D87392@freebie.lemis.com> <199907030039.RAA02121@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199907030039.RAA02121@dingo.cdrom.com>; from Mike Smith on Fri, Jul 02, 1999 at 05:39:31PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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