Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2016 23:40:49 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        Bruce Evans <bde@FreeBSD.org>, src-committers@FreeBSD.org,  svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r304153 - head/sys/dev/syscons
Message-ID:  <20160815231956.X2752@besplex.bde.org>
In-Reply-To: <20160815131600.GA86798@mutt-hardenedbsd>
References:  <201608151256.u7FCujHw048832@repo.freebsd.org> <20160815131600.GA86798@mutt-hardenedbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160815231956.X2752>