CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2018/07/02 08:36:33
Modified files: sys/kern : kern_descrip.c kern_sysctl.c uipc_usrreq.c sys/sys : file.h filedesc.h Log message: Update the file reference count field `f_count' using atomic operations instead of using a mutex for update serialization. Use a per-fdp mutex to manage updating of file instance pointers in the `fd_ofiles' array to let fd_getfile() acquire file references safely with concurrent file reference releases. OK mpi@