Subject: Re: kern/31944 - Fix to reduce tmpfs memory usage
To: None <tech-kern@netbsd.org, gnats-bugs@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-kern
Date: 04/23/2006 23:04:29
On 4/23/06, David Laight <david@l8s.co.uk> wrote:
> Alternatively you just need to keep the last used generation number for
> each inode number - which should just cost 4 bytes/inode, and ought to
> be pagable.

Which is what the attached patch did, isn't it?  The structure is a
bit bigger because it is stored in a linked list (an extra pointer to
do the mapping), and it'd be pageable if we solved all the pageability
issues in tmpfs (a custom pool allocator?)...

--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/