Subject: Re: pkg/31944
To: None <,,>
From: Julio M. Merino Vidal <>
List: netbsd-bugs
Date: 03/07/2006 08:50:02
The following reply was made to PR kern/31944; it has been noted by GNATS.

From: "Julio M. Merino Vidal" <>
Subject: Re: pkg/31944
Date: Tue, 7 Mar 2006 09:47:21 +0100

 > 1. tmpfs doesn't free tmpfs_nodes until unmount.
 This is because, once a node has been created, tmpfs needs to keep its id
 and generation number so that if the same node is reused it carries the same
 generation number.
 Maybe the memory needs could be lowered by keeping a id->gen map?  This
 way, when a node was deleted, tmpfs could insert this pair in the map for
 later reuses, avoiding the need to keep the whole node in memory.  The
 problem could not disappear completely (and it looks like it cannot), but it
 would take less memory.
 Does this sound reasonable?
 Julio M. Merino Vidal <>
 The Julipedia -