Subject: Re: CVS commit: src/sys/fs/tmpfs
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: source-changes
Date: 09/13/2005 23:40:59
On 9/13/05, YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> wrote:
> > This doesn't seem to work, yet.  If I do, for example:
> >
> > dd if=3D/dev/zero of=3Dfoo bs=3D1m count=3D30
> >
> > and check swap usage with top(1), I see my testing machine has used
> > around 25mb.  Now, if I do a "echo a >foo", thus truncating the file, t=
he
> > swap usage doesn't vary.  But if I remove it, it really goes away, and
> > top(1) only shows 2mb used.
>=20
> hm, it frees memory but doesn't free swap slots, right?
> i'll fix.

Yep, it seems so.

--=20
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/