Subject: Re: free()
To: None <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
Date: 02/19/2001 08:18:35
On Mon, Feb 19, 2001 at 10:14:25AM +0100, email@example.com wrote:
> why there is no reallyfree() function (without parameters) which would
> scan through malloc's freelist and unmap every full page?
Because that's not how malloc(3) was originally implemented :-) A
program that used such a feature would not be a portable program.
It is possible to change the behavior of NetBSD's malloc(3), however. See
the manual page.
-- Jason R. Thorpe <firstname.lastname@example.org>