DragonFly commits List (threaded) for 2010-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - add spinlock to syscons console write path
commit 82d1ed25dd0260190823a69517b17901d529b14a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sun Jan 17 17:23:53 2010 -0800
kernel - add spinlock to syscons console write path
* Add a spinlock in the console write path which is shared with
general console writes (CONS_LOCK is only used for kernel console
writes).
* Fixes MP races between kprintf() and general console writes which
can cause sc->videoio_in_progress to get out of sync, causing
vga consoles to stop generating output.
Summary of changes:
sys/dev/misc/syscons/syscons.c | 83 ++++++++++++++++++++++++++++++----------
sys/dev/misc/syscons/syscons.h | 1 -
2 files changed, 63 insertions(+), 21 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/82d1ed25dd0260190823a69517b17901d529b14a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]