Subject: Re: free()
To: None <>
From: Jason R Thorpe <>
List: netbsd-users
Date: 02/19/2001 08:18:35
On Mon, Feb 19, 2001 at 10:14:25AM +0100, 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 <>