Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 16:27:14 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/pseudofs pseudofs_vncache.c
Message-ID:  <20040816232714.GE57908@elvis.mu.org>
In-Reply-To: <xzp657jmlqn.fsf@dwp.des.no>
References:  <200408152158.i7FLw2mW016740@repoman.freebsd.org> <20040816073314.GA57908@elvis.mu.org> <xzp657jmlqn.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
* Dag-Erling Sm?rgrav <des@des.no> [040816 03:16] wrote:
> Alfred Perlstein <alfred@freebsd.org> writes:
> > I would suggest moving them all to a seperate list, then walking that
> > list calling vgone on each node.
> 
> That doesn't solve the problem, it just adds another race.

Not to be difficult, I don't understand.

If you hold the lock while moving them all to another list then
they are all on another list.

You can then nuke them at will.  Maybe I'm missing some
external references that can reactivate them?  If so those could
be prevented by flagging the node.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040816232714.GE57908>