svn commit: r339582 - head/sys/dev/sound/midi

Hans Petter Selasky hps at selasky.org
Mon Oct 22 10:10:28 UTC 2018


On 10/22/18 11:51 AM, Konstantin Belousov wrote:
> On Mon, Oct 22, 2018 at 08:58:28AM +0000, Hans Petter Selasky wrote:
>> Author: hselasky
>> Date: Mon Oct 22 08:58:27 2018
>> New Revision: 339582
>> URL: https://svnweb.freebsd.org/changeset/base/339582
>>
>> Log:
>>    Drop sequencer mutex around uiomove() and make sure we don't move more bytes
>>    than is available, else a panic might happen.
> And why it is safe to drop the mutex ?
> If it is safe to drop, why do you need the mutex at all ?
> 

The seq mutex protects the queue state, which is entirely computed prior 
or after uiomove().

--HPS



More information about the svn-src-all mailing list