Subject: Re: kernel mem allocator, was: Interface detach branch
To: Paul Newhouse <newhouse@pimin.rockhead.com>
From: Matt Thomas <matt@3am-software.com>
List: current-users
Date: 12/18/1998 21:14:14
At 08:01 PM 12/18/98 , Paul Newhouse wrote:
>In reference to DUX Dave Cherkus <cherkus@homerun.unimaster.com> writes:
>
>>It's malloc also has debug modes that do auditing, leak detection,
>>internal consistency checking and even a mode where virtual addresses
>>are never reused and are always unmapped after being freed so any
>>access to that address will fault. This is great for finding use
>>of pointers after freeing the memory.
>
>Sure, in a debug kernel. I was talking about the performance kernel
>clients use in the field. The "use after freeing" bugs NEVER show up
>in pre-release testing. *8^)))
Actually not. You patch some flags in the kernel and reboot. No
kernel reboots needed.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Sunnyvale, CA Disclaimer: I avow all knowledge of this message