Subject: Re: PROPOSAL: removal of brk()/sbrk().
To: None <tech-kern@netbsd.org>
From: Wolfgang Rupprecht <wolfgang+gnus20020226T101853@wsrcc.com>
List: tech-kern
Date: 02/26/2002 10:24:20
tv@wasabisystems.com (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 <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/