svn commit: r304153 - head/sys/dev/syscons
Bruce Evans
brde at optusnet.com.au
Mon Aug 15 14:00:37 UTC 2016
On Mon, 15 Aug 2016, Shawn Webb wrote:
> On Mon, Aug 15, 2016 at 12:56:45PM +0000, Bruce Evans wrote:
>>
>> Log:
>> Quick fix for locking fixes in r172250. The lock added there was per-
>> virtual-device, but needs to be per-physical-device so that it protects
>> shared data. Usually, scp->sc->write_in_progress got corrupted first
>> and further corruption was limited when this variable was left at nonzero
>> with no write in progress.
> ...
>
> Should this be MFC'd after some point?
Possibly. This is a small part of ~60K of patches for locking bugs in
console drivers (only ones that I use, syscons and sio) and subr_prf.c
and subr_msgbuf.c. It is meant to be safe and easy to merge by itself,
but I have too many little patches to merge one at a time.
Bruce
More information about the svn-src-head
mailing list