OpenBSD cvs log

created 2021-10-31T20:24:14Z
begin 2021-10-24T00:02:25Z
end 2021-10-24T06:59:54Z
path src/sys
commits 1

date 2021-10-24T06:59:54Z
author visa
files src/sys/kern/sys_pipe.c log diff annotate
message Make pipe event filters MP-safe

Add the missing f_modify and f_process callbacks so that pipe_lock
serializes pipe knote handling. As pipe klist locking is already in
place, pipe event filters should now be MP-safe.

This uses write locking everywhere in the callbacks for simplicity.
There is not much multiple-readers parallelism to utilize.

OK mpi@ anton@