DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Nov 2011 10:52:26 -0800 (PST)

commit 957625b2e8403979b52a3f31b35199e852b95662
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]