Subject: Re: PROPOSAL: removal of brk()/sbrk().
To: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-kern
Date: 02/26/2002 12:22:28
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. :)
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/