Patch for inode SLIST conversion

Michael Neumann mneumann at
Sun Jan 20 03:51:21 PST 2008

Simon 'corecode' Schubert wrote:
Michael Neumann wrote:
lwkt_token_stale(&lock, &token) would then simply check
for ilock->current_generation == token->generation, and
lwkt_gettoken() would increase the generation. Alternatively
a special lwkt_token_inc() could be used to increase the generation.
Not only gettoken, but also the lwkt code that re-obtains tokens.  Doing
a manual _inc() defeats the idea.
Don't know if the overhead is justified. Probably only if it's used
that often.
Which overhead?  Incrementing an integer?
Space overhead. Don't know if that matters at all.



More information about the Kernel mailing list