Subject: Re: PROPOSAL: removal of brk()/sbrk().
To: None <>
From: Wolfgang Rupprecht <>
List: tech-kern
Date: 02/26/2002 10:24:20 (Todd Vierling) writes:
> `So save it and mmap(..., MAP_SHARED, PROT_READ, ...) the result.'  Again,
> there's no excuse.  :)

It certainly is an interesting idea and I stopped short of suggesting
exactly this on an mmap() thread on gnu.emacs.bug last week.

The fly in the ointment is that emacs uses actual pointers in the lisp
cells.  If one mmap()s a previously dumped set of lisp cells, one had
better be able to mmap() them into exactly the same address.  Will
NetBSD always honor requests to mmap() things into the same area that
they were previously mmapped into?  Under what conditions will NetBSD
decline the request to preserve the old mmapping?

-wolfgang  (the other one)
       Wolfgang Rupprecht <>
Coming soon: GPS mapping tools for Open Systems.