git: kernel - Fix another hard critical section issue with sysco

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit bd1cd9c20b15fdb8f23cd2fba5ff84154cf7ab5e Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Oct 19 23:25:02 2010 -0700 kernel - Fix another hard critical section issue with syscons, revamp locking * Use the new mtx_spinlock() facility instead of spinlock(). The new facility supports reetrant locks. * Call all sc_*() functions with the syscons lock held. * Fix an issue in blink_screen() where a hard critical section panic could potentially occur. * Fix an issue in sc_puts() where adjusting the keyboard LED could still cause a hard critical section panic. We just let the keyboard LED state be wrong for now. Summary of changes: sys/dev/misc/syscons/syscons.c | 255 +++++++++++++++++++++++++--------------- 1 files changed, 161 insertions(+), 94 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bd1cd9c20b15fdb8f23cd2fba5ff84154cf7ab5e -- DragonFly BSD source repository
文章代碼(AID): #1CvoKZUQ (DFBSD_commit)