git: kernel - Add required critical section around tsleep_remove()

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 11 10:53:26 PST 2011


commit 957625b2e8403979b52a3f31b35199e852b95662
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 11 10:51:28 2011 -0800

    kernel - Add required critical section around tsleep_remove()
    
    * The tsleep_remove() call requires a critical section to avoid
      racing a wakeup interrupt.
    
    * And assert the requirement in tsleep_remove() itself.

Summary of changes:
 sys/kern/kern_mutex.c |    2 ++
 sys/kern/kern_synch.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/957625b2e8403979b52a3f31b35199e852b95662


-- 
DragonFly BSD source repository





More information about the Commits mailing list