Module Name: src Committed By: riastradh Date: Sat Apr 9 06:21:17 UTC 2016
Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile pslist.9 src/sys/kern: files.kern Added Files: src/share/man/man9: psref.9 src/sys/kern: subr_psref.c src/sys/sys: psref.h Log Message: Add passive references, intermediate between pserialize and refcount. Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2016/01/24/msg020069.html API is still experimental and likely to change. (Obvious changes: either remove extra arguments everywhere, or shrink psref_target to a single bit, at the expense of possibly valuable diagnostic checks.) Should do some real testing before we use this in anger! To generate a diff of this commit: cvs rdiff -u -r1.2027 -r1.2028 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.394 -r1.395 src/share/man/man9/Makefile cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/pslist.9 cvs rdiff -u -r0 -r1.1 src/share/man/man9/psref.9 cvs rdiff -u -r1.10 -r1.11 src/sys/kern/files.kern cvs rdiff -u -r0 -r1.1 src/sys/kern/subr_psref.c cvs rdiff -u -r0 -r1.1 src/sys/sys/psref.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.