Subject: Re: swapfs and uvm.
To: Simon Burge <>
From: Bill Sommerfeld <>
List: tech-kern
Date: 03/14/2000 11:36:46
>  * Perhaps later on using some sort of tree for directory entries.
>    Maybe not an issue - how big to directories grow on /tmp?

The top-level directory in /tmp gets fairly large on some systems.

Maybe a hash table?

>  * Is it possible to release individual pages in an aobj back to the
>    system?  This is one of the major problems with the current mfs (as
>    well as copying data multiple times).  If not, is there another sort
>    of uvm object that might be better suited to a swapfs?

I think someone else suggested implementing it as one aobj per file.
I think this would be a better approach..

(among other things, it makes things like mmap of files in /tmp
potentially less painful..)

					- Bill