Date: Sun, 27 Jul 2008 21:26:52 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: malloc options Message-ID: <g6ii60$td7$1@ger.gmane.org> In-Reply-To: <E3C0FC23-5548-475A-8A7E-6ED00009CAF8@lafn.org> References: <EE1CF633-524E-4AE3-8224-685D71652F36@lafn.org> <488BBCFD.1090309@FreeBSD.org> <B20991AB-6D2F-4E9E-BC68-2073EFE598AF@lafn.org> <87y73ohylt.fsf@kobe.laptop> <E3C0FC23-5548-475A-8A7E-6ED00009CAF8@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g6ii60$td7$1>