cvs commit: src/sys/dev/syscons syscons.c syscons.h
Hidetoshi Shimokawa
simokawa at FreeBSD.org
Wed Sep 19 21:06:10 PDT 2007
simokawa 2007-09-20 04:05:59 UTC
FreeBSD src repository
Modified files:
sys/dev/syscons syscons.c syscons.h
Log:
Serialize output routine of terminal emulator (te_puts()) by a lock.
- The output routine of low level console is not protected by any lock
by default.
- Increment and decrement of sc->write_in_progress are not atomic and
this may cause console hang.
- We also have many other states used by emulator that should be protected
by the lock.
- This change does not fix interspersed messages which PRINTF_BUFR_SIZE
kernel option should fix.
Approved by: re (bmah)
MFC after: 1 week
Revision Changes Path
1.453 +13 -1 src/sys/dev/syscons/syscons.c
1.88 +1 -0 src/sys/dev/syscons/syscons.h
More information about the cvs-src
mailing list