CVSROOT:        /cvs
Module name:    src
Changes by:    2018/06/21 07:58:21

Modified files:
        sys/kern       : kern_proc.c kern_prot.c 
        sys/sys        : ucred.h 

Log message:
Use atomic operations for updating cred structure reference counts
to make crfree() and crhold() MP-safe. Make crhold() a proper function.
Put the definition into file kern_prot.c to constrain the need of the
<sys/atomic.h> header.

While there, adjust the IPL of ucred_pool to avoid lock order problems
with the kernel lock (pointed out by kettenis@).

OK mpi@

Reply via email to