DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Serializing tokens problem


To: dillon@xxxxxxxxxxxxxxxxxxxx
From: Richard Nyberg <rnyberg@xxxxxxxx>
Date: Fri, 14 Jan 2005 16:18:29 +0100

At Thu, 13 Jan 2005 13:25:06 -0800 (PST),
Matthew Dillon wrote:
> 
> 
> :Hello gang!
> :
> :I'm trying to use tokens to serialize access and updates to
> :a hash containing nnpfs nodes. As a start I put the  hash lookup
> :routine between token acquisition and release. All code using
> :the tokens are below.
> :
> :Actually I have one token per list in the hash, probably overkill :)
> 
>     Hmm.  The code you attached and the use of the token looks just fine
>     to me.  This could imply that some sort of stack corruption is occuring
>     inside the nnpfs_handle_eq() call.
> 
Sorry about the noise. It was actually an inconsistent build that caused
the error. Bad me. Should have checked that. :(

        -Richard




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]