Subject: Re: PROPOSAL: removal of brk()/sbrk().
To: Todd Vierling <tv@wasabisystems.com>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-kern
Date: 02/26/2002 19:10:51
On Tue, Feb 26, 2002 at 12:22:28PM -0500, Todd Vierling wrote:
> On Tue, 26 Feb 2002, Ignatios Souvatzis wrote:
> 
> : > Other than the fact that this is a gross, machine-dependent, abuse of
> : > virtual address space that makes linking with shared objects hairy at best?
> : > (IMNSHO, all such programs are just plain bogus, and should instead save
> : > their binary state in a way that can be read() or mmap()ed back into
> : > memory.  There's no excuse for emacs to keep using its undump scheme.  8-)
> :
> : The claimed reason is so that the now-initialized memory is in the code
> : section, thus shared between users and demand-paged.
> 
> `So save it and mmap(..., MAP_SHARED, PROT_READ, ...) the result.'  Again,
> there's no excuse.  :)

didn't work with Ultrix, ConvexOS 6.x, to name a few....

	-is