Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 23:09:57 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Alfred Perlstein <bright@mu.org>
Cc:        ak03@gte.com, freebsd-current@FreeBSD.ORG, jroberson@chesapeake.net, arr@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: Found: module loading breakage
Message-ID:  <3C9C2A45.97B62EB2@mindspring.com>
References:  <F182Mb1s7nlT2NqFJ3s0000d89b@hotmail.com> <20020323054757.GQ10521@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> Good work!
> 
> I was about to say:
>   "why don't you just traverse the system wide list of vnodes
>    and fixup the pointers?"
> Then I realized that there doesn't seem to be a system wide list... :(
> 
> You could add one, it would be trivial to add a TAILQ_ENTRY to the
> vnode strcture as well as add/remove the nodes from
> the list in the vnode allocation and deallocation code.
> 
> Feel ambitious? :)

Add an indirection, and replace the pointer in the
indirection pointer, so that everything just works.  It
will take a doube-indirection to do.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9C2A45.97B62EB2>