From owner-freebsd-questions Sat Aug 5 11:32:16 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id LAA25069 for questions-outgoing; Sat, 5 Aug 1995 11:32:16 -0700 Received: from bubba.tribe.com ([205.184.207.7]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id LAA25063 for ; Sat, 5 Aug 1995 11:32:14 -0700 Received: (from archie@localhost) by bubba.tribe.com (8.6.11/8.6.9) id LAA02979 for questions@freebsd.org; Sat, 5 Aug 1995 11:31:40 -0700 From: Archie Cobbs Message-Id: <199508051831.LAA02979@bubba.tribe.com> Subject: Re: 2.0.5 Eager to go into swap To: questions@freebsd.org Date: Sat, 5 Aug 1995 11:31:39 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1219 Sender: questions-owner@freebsd.org Precedence: bulk In all the confusion, I missed the answers to a couple of questions I had regarding the memory situation... I also have a new one... :-) 1. I wrote: > How hard would it be to replace the existing malloc() with GNU malloc()? I assume this would entail rebuilding libc... perhaps we can "reorder" it in the process (based on ... ?). This is not theoretical, I'd really like to do this. 2. I wrote: > On a related note, does the kernel ever promise more memory than it > can actually deliver? Or do all calls to malloc() reserve swap (at least)? > In either case, is this behavior configurable? It didn't sound like this was configurable, but I just want to check and make sure. 3. Finally, it would be nice to see a "free" command like Linux has. For example: $ free total used free shared buffers Mem: 11324 11148 176 3084 6024 Swap: 52412 0 52412 [ This isn't the best example because no swap is currently being used, but you get the idea ] Can we add this? I'll write the program if someone shows me where to get this information (from pstat?). Thanks, -Archie