From owner-freebsd-questions@FreeBSD.ORG Sun Jul 27 19:27:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E93E1065674 for ; Sun, 27 Jul 2008 19:27:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8748FC16 for ; Sun, 27 Jul 2008 19:27:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KNBtX-0002f1-Nu for freebsd-questions@freebsd.org; Sun, 27 Jul 2008 19:27:04 +0000 Received: from 78-0-85-142.adsl.net.t-com.hr ([78.0.85.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Jul 2008 19:27:03 +0000 Received: from ivoras by 78-0-85-142.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Jul 2008 19:27:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sun, 27 Jul 2008 21:26:52 +0200 Lines: 44 Message-ID: References: <488BBCFD.1090309@FreeBSD.org> <87y73ohylt.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA30002210583BB6DF766214C" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-85-142.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: malloc options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2008 19:27:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA30002210583BB6DF766214C Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Doug Hardie wrote: >=20 > On Jul 26, 2008, at 19:03, Giorgos Keramidas wrote: >=20 >> While that's understandable, the current malloc() has undergone quite >> extensive testing by Jason Evans and a lot of people who use it in >> FreeBSD 7.X or later. Its ability to expose bugs in this way was deem= ed >> important enough that it is now used by other projects too. >=20 > while in general I like the new approach, this problem has been a=20 > killer. I did find a number of errors in my own code where I was not=20 > allocating enough space for some things. Those showed up instantly wit= h=20 > 7.0 and were easy to fix. As Kris said, you can run the 6.x binary on 7.x with compatibility=20 libraries. This is the worst long-term option but it *will* gain you the = 7.x kernel (with all its benefits like multi-CPU support, new drivers,=20 etc.) with the old allocator from the old libraries. This will be hard=20 to maintain but it will work. --------------enigA30002210583BB6DF766214C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIjMv/ldnAQVacBcgRApe9AJ4ko3rLVMx0jrXFP7NllCmdYs1t6QCgqa2u zg8MYrcCLA3WEYc8q7QbchU= =ElVm -----END PGP SIGNATURE----- --------------enigA30002210583BB6DF766214C--