Subject: Re: kern/31944 - Fix to reduce tmpfs memory usage
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 04/24/2006 00:00:04
The following reply was made to PR kern/31944; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
	yamt@mwd.biglobe.ne.jp
Cc: 
Subject: Re: kern/31944 - Fix to reduce tmpfs memory usage
Date: Sun, 23 Apr 2006 19:57:27 -0400

 On Apr 23,  6:20pm, david@l8s.co.uk (David Laight) wrote:
 -- Subject: Re: kern/31944 - Fix to reduce tmpfs memory usage
 
 |  The NetBSD kernel was recently changed to support 64bit inode numbers, so
 |  maybe you just use increment a 64bit inode number on every create?
 |  (with a random(ish) generation number).
 
 That was my proposal (without the random generation number, but keeping
 it sequental).
   
 |  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.
 
 And you only need to start doing this once you exceed 2^63 files...
 
 christos