Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 1997 13:11:54 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Terry Lambert <terry@lambert.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: cvs commit:  src/sys/conf options
Message-ID:  <Pine.SV4.3.95.970301125915.15992D-100000@parkplace.cet.co.jp>
In-Reply-To: <199702282247.PAA02481@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Feb 1997, Terry Lambert wrote:

> It's silly to think you can have "too many vnodes"... what resource
> that is usable are you preventing starving by hard limiting them?
> How do you run a program to take advantage of the resource you
> "saved" this way, if the program you want to run won't run because
> you are out of vnodes?  ...Silly.

It's a non-decreasing pool of memory, some might want a limit on it's
growth so that currently running processes and other kernel functions
aren't negatively affected.

Having a non-decreasing pool makes it a little less complicated in the fs
code.  You only need to worry about the validity of the contents of a vp
and not the validity of the vp itself.

The code is complicated as it is, have you looked at the lite2 stuff? 
Whew, I feel like we need something like SUN's lint_lock aka. warlock. 

NOTE(LOCK_RELEASED_AS_A_SIDE_EFFECT);

The boundaries between a consistent state and an inconsistent state are
pretty tough to follow.

Regards,


Mike Hancock




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.970301125915.15992D-100000>