Subject: Re: PROPOSAL: removal of brk()/sbrk().
To: Wolfgang Solfrank <ws@tools.de>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 02/26/2002 16:14:57
--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 26, 2002 at 03:44:30PM +0100, Wolfgang Solfrank wrote:
> Hi,
>=20
> > Removal of the brk() and sbrk() interfaces, or actually: stop using the
> > break() system call for process heap.
>=20
> What about programs that dump themselves for later restart (like emacs,
> TeX etc.)?
>=20
> Those programs dump the memory from the start of the data section
> up to the break value as the data section of the new executable.
> How would this be handled in the new world?

And (sort of) pkgsrc/devel/chkpt

Hm. In ELF world, they could just dump multiple data sections at multiple
offsets, as needed ... but tracking what is needed is likely to be a major
rewriting effort.

	-is

--sdtB3X0nJg68CQEu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPHumbjCn4om+4LhpAQHZIwf+NbBmrfbZTZ9cqTb7du8XozBZ246fgUut
xu8cjqFpqWQSuLphGQ/Le5aXvpvvy4lhLJPYtnVbLoZxcwLkC+yFIX7VSH4/FyIn
HII6C/j5vfqp1DvOw18Bh0NdW90tSyRQvPEyWgF+hD7QqXRD45ygcbMS6so0YHnt
/51xBeHliwFwp2lf9SoeQynTj2FibDo5xZrdRkrMrBwF5+3nASzHohF9wsSZiK5R
gw+C+G2yk8BkxS+38Q5iH4V0qgi7v6UC4lrGXmV5AFLqs9koXxtggOLtrNJHW9EK
iuXBGEesdBW445lQmMoy0gMJC3P89s5Fc17jBWAc3fJAMwG68w9IgA==
=fGY3
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--