Re: Make pipe event filters MP-safe

2021-10-22 Thread Martin Pieuchot
On 22/10/21(Fri) 13:15, Visa Hankala wrote: > This diff makes pipe event filters ready to run without the kernel lock. > The code pattern in the callbacks is the same as in sockets. Pipes > have a klist lock already. > > So far, pipe event filters have used read-locking. The patch changes > that t

Make pipe event filters MP-safe

2021-10-22 Thread Visa Hankala
This diff makes pipe event filters ready to run without the kernel lock. The code pattern in the callbacks is the same as in sockets. Pipes have a klist lock already. So far, pipe event filters have used read-locking. The patch changes that to write-locking for clarity. This should not be a real l