Re: Log mutex for msgbuf concurrency control

2020-08-20 Thread Visa Hankala
On Tue, Aug 18, 2020 at 03:06:58PM +, Visa Hankala wrote: > This diff introduces a mutex that serializes access to the kernel > message buffers. At the moment, the buffers do not have clear > concurrency control. > > The mutex controls access to all the modifiable fields of struct msgbuf. >

Log mutex for msgbuf concurrency control

2020-08-18 Thread Visa Hankala
This diff introduces a mutex that serializes access to the kernel message buffers. At the moment, the buffers do not have clear concurrency control. The mutex controls access to all the modifiable fields of struct msgbuf. It also protects logsoftc.sc_state for managing thread wakeups. A tricky