CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/07/11 18:41:14
Modified files:
sys/sys : refcnt.h
sys/kern : kern_synch.c
Log message:
refcnt_shared can be a macro around refcnt_read.
they're basically the same code except refcnt_shared checks if the
read value was > 1. the caller is going to check it anyway, so get rid
of the duplicate code.
