Serializing tokens problem

Richard Nyberg rnyberg at it.su.se
Fri Jan 14 07:18:29 PST 2005


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






More information about the Kernel mailing list