git: kernel - Fix spinlock use in syscons

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 29 22:14:56 PDT 2010


commit cbfc8ecbff0275e60893ea97ae0e3ae818eb4d7e
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list