cvs commit: src/sys/kern lwkt_token.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 20 00:41:04 PDT 2005
dillon 2005/06/20 00:40:30 PDT
DragonFly src repository
Modified files:
sys/kern lwkt_token.c
Log:
Tokens are recursive in the context of the same thread. This also means
that fast interrupts such as IPIs cannot safely use any token function.
Assert this requirement in the implementation.
Add miscellanious other assertions to enforce correct operation.
Remove the 'no giveaway' warning. This warning was being used to determine
where recursive tokens were being used. It turns out that they are used
in the mountlist scan code (which has historically been rather buggy). Now
that we know where they are used and we fixed the recursion release bug in
a prior commit, this printf() can be removed.
Revision Changes Path
1.17 +7 -4 src/sys/kern/lwkt_token.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_token.c.diff?r1=1.16&r2=1.17&f=u
More information about the Commits
mailing list