Subject: Re: kern/31944 - Fix to reduce tmpfs memory usage
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: netbsd-bugs
Date: 04/23/2006 21:05:02
The following reply was made to PR kern/31944; it has been noted by GNATS.
From: "Julio M. Merino Vidal" <jmmv84@gmail.com>
To: tech-kern@netbsd.org, gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/31944 - Fix to reduce tmpfs memory usage
Date: Sun, 23 Apr 2006 23:04:29 +0200
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/