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

git: kernel - Fix spinlock use in syscons


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 29 Aug 2010 22:14:14 -0700 (PDT)

commit cbfc8ecbff0275e60893ea97ae0e3ae818eb4d7e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Aug 29 22:13:07 2010 -0700

    kernel - Fix spinlock use in syscons
    
    * Spinlocks cannot be held across complex calls, particularly calls
      that might block or switch.
    
      This fixes a spinlock panic during lwkt.tty_mpsafe testing.

Summary of changes:
 sys/dev/misc/syscons/syscons.c |   43 +++++++++++++++++++++++++--------------
 1 files changed, 27 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cbfc8ecbff0275e60893ea97ae0e3ae818eb4d7e


-- 
DragonFly BSD source repository



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