Subject: Re: free()
To: None <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 02/19/2001 08:18:35
On Mon, Feb 19, 2001 at 10:14:25AM +0100, firstname.lastname@example.org 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 <email@example.com>