Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 14:47:18 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        Ian FREISLICH <ianf@clue.co.za>, freebsd-current@freebsd.org
Subject:   Re: sbrk(2) broken
Message-ID:  <20080104124718.GZ57756@deviant.kiev.zoral.com.ua>
In-Reply-To: <20080104095132.GC947@server.vk2pj.dyndns.org>
References:  <20080104002002.L30578@fledge.watson.org> <E1JAg1t-0000Yt-0f@clue.co.za> <20080104095132.GC947@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--7uy9XegIstZRHI/L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 04, 2008 at 08:51:32PM +1100, Peter Jeremy wrote:
> On Fri, Jan 04, 2008 at 08:27:41AM +0200, Ian FREISLICH wrote:
> >I have long lived processes that continuously handle very valuable
> >data and potentially get very large (several GB).  I'd like that
> >process to be able to make a rational decision about what happens to its
> >memory contents when an allocation fails rather than having the
> >proverbial rug pulled out from under it.  Rug pulling at any point=20
> >can cost an annual salary or two.
>=20
> If you google for freebsd+sigdanger, you will find that this topic
> was first discussed nearly 10 years ago.  Unfortunately, no progress
> appears to have been made, though it crops up every few years.

I need to make a slight correction there:

some time ago the patch at the
http://people.freebsd.org/~kib/overcommit/index.html
works, at least I believe so. I implemented overcommit turn-off knob
and did the exact anonymous memory accounting. Quite possible, the code
rotten since then.

--7uy9XegIstZRHI/L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHfirVC3+MBN1Mb4gRAlFXAKCijH04tmW5ImcTafJ7Cav/+dqTxACg4nrD
JGjNqGYTO9EJmCx2zZK5WWE=
=Le2r
-----END PGP SIGNATURE-----

--7uy9XegIstZRHI/L--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080104124718.GZ57756>