Subject: Re: port-i386/500: file system space is lost
To: None <>
From: Paul Kranenburg <>
List: netbsd-bugs
Date: 09/29/1994 12:30:13
> >Description:
> 	When the program below is run 1M of file system space is
> 	lost, despite the created file being unlink()ed.
> >How-To-Repeat:
> 	compile the program below, do a 'df .', run it, and do 'df .' again.
> 	1M less, *sigh*

The VM object created by mmap(2) lingers in the vm object cache and holds
on to the vnode associated with it. You'll get your file system space back
as soon as it gets pushed out of the cache again, ie. after you've mmap(2)ed
enough other things.