git: kernel - slotimer is MPSAFE, fix degenerate mplock case in callout threads

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 8 10:32:12 PST 2013


commit 82cc110d7eb37cb5f97105b3b2abb89e6860716a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 8 10:29:49 2013 -0800

    kernel - slotimer is MPSAFE, fix degenerate mplock case in callout threads
    
    * The slotimer (runs once every 10 seconds) is MPSAFE.  This runs on all cpus
      all at once so it kinda created a little hicup before due to being defined
      wrong.
    
    * When a callout thread sleeps, make sure any left-over mplock is not
      being held.

Summary of changes:
 sys/kern/kern_timeout.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/82cc110d7eb37cb5f97105b3b2abb89e6860716a


-- 
DragonFly BSD source repository


More information about the Commits mailing list