CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2021/11/12 23:04:02

Modified files:
        sys/kern       : kern_event.c vfs_vnops.c 

Log message:
Let filt_fileattach() run without the kernel lock

This makes it possible to attach pipe, socket and kqueue event filters
without acquiring the kernel lock. Event filters behind vn_kqfilter()
are not MP-safe yet, so vn_kqfilter() has to take KERNEL_LOCK().
dmabuf_kqfilter() can skip locking because it has no side effects.

OK anton@, mpi@

Reply via email to