diff options
author | scottl <scottl@FreeBSD.org> | 2006-09-13 15:48:15 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2006-09-13 15:48:15 +0000 |
commit | ae1ca6fd73256507ef9094b93fec5b9760349c20 (patch) | |
tree | 3f6091ef6a36694ab3df9980406f14ca618e4170 /lib/libpam/modules | |
parent | 3927aa447494d5f1b31035c64ecc9b2ae7401a52 (diff) | |
download | FreeBSD-src-ae1ca6fd73256507ef9094b93fec5b9760349c20.zip FreeBSD-src-ae1ca6fd73256507ef9094b93fec5b9760349c20.tar.gz |
Introduce a spinlock for synchronizing access to the video output hardware
in syscons. This replaces a simple access semaphore that was assumed to be
protected by Giant but often was not. If two threads that were otherwise
SMP-safe called printf at the same time, there was a high likelyhood that
the semaphore would get corrupted and result in a permanently frozen video
console. This is similar to what is already done in the serial console
drivers.
Diffstat (limited to 'lib/libpam/modules')
0 files changed, 0 insertions, 0 deletions