From owner-freebsd-current@FreeBSD.ORG Fri Jan 4 12:47:29 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C56216A41A for ; Fri, 4 Jan 2008 12:47:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 48DF913C4E8 for ; Fri, 4 Jan 2008 12:47:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JAlxH-0009Jb-RL for freebsd-current@freebsd.org; Fri, 04 Jan 2008 14:47:28 +0200 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m04ClJQ9007746; Fri, 4 Jan 2008 14:47:19 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m04ClIPI007745; Fri, 4 Jan 2008 14:47:18 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 4 Jan 2008 14:47:18 +0200 From: Kostik Belousov To: Peter Jeremy Message-ID: <20080104124718.GZ57756@deviant.kiev.zoral.com.ua> References: <20080104002002.L30578@fledge.watson.org> <20080104095132.GC947@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7uy9XegIstZRHI/L" Content-Disposition: inline In-Reply-To: <20080104095132.GC947@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: bf674e48040b805769da4ba4af5b826b X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1976 [Dec 29 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Ian FREISLICH , freebsd-current@freebsd.org Subject: Re: sbrk(2) broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 12:47:29 -0000 --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--