From owner-freebsd-hackers Wed Feb 28 17:11:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (w250.z064001178.sjc-ca.dsl.cnc.net [64.1.178.250]) by hub.freebsd.org (Postfix) with SMTP id 4C9D137B718 for ; Wed, 28 Feb 2001 17:11:38 -0800 (PST) (envelope-from josb@cncdsl.com) Received: (qmail 67820 invoked by uid 1000); 1 Mar 2001 01:11:57 -0000 Date: Wed, 28 Feb 2001 17:11:35 -0800 From: Jos Backus To: Peter Seebach Cc: freebsd-hackers@freebsd.org Subject: Re: Setting memory allocators for library functions. Message-ID: <20010228171135.E66723@lizzy.bugworks.com> Reply-To: Jos Backus Mail-Followup-To: Peter Seebach , freebsd-hackers@freebsd.org References: <200102250745.f1P7jPd02969@harmony.village.org> <200102250757.f1P7vR625246@guild.plethora.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102250757.f1P7vR625246@guild.plethora.net>; from seebs@plethora.net on Sun, Feb 25, 2001 at 01:57:05AM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG For your collective amusement, here's a post that talks about how OS/2 handles memory allocation. DosAllocMem() has a flags argument, and one of the flags requests the OS to actually commit the memory. http://w3.hethmon.com/os2isp/1998/Apr/Msgs/l2w96957.html http://www.stidolph.com/os2api/Dos/DosAllocMem.html So even IBM must have thought it not to be such a bad idea. -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message