git: kernel -- token: Two shared token DEBUG_LOCKS tests.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Wed Nov 16 18:14:17 PST 2011


commit 784abcf016439b3921045915ae603359a2166860
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Wed Nov 16 18:07:47 2011 -0800

    kernel -- token: Two shared token DEBUG_LOCKS tests.
    
    * New warning when a pool token is taken in shared mode.
    
    * KASSERT when trying to take an exclusive token with that token
      already held shared.
    
    Both tests are only active under DEBUG_LOCKS.

Summary of changes:
 sys/kern/lwkt_token.c |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/784abcf016439b3921045915ae603359a2166860


-- 
DragonFly BSD source repository





More information about the Commits mailing list