Date: Thu, 20 Sep 2007 04:05:59 +0000 (UTC) From: Hidetoshi Shimokawa <simokawa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/syscons syscons.c syscons.h Message-ID: <200709200405.l8K45xmp066692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709200405.l8K45xmp066692>