Module Name: src Committed By: ad Date: Sun Jan 19 18:34:24 UTC 2020
Modified Files: src/sys/kern: kern_rwlock.c src/sys/sys: rwlock.h Log Message: Tidy rwlocks a bit, no functional change intended. Mainly: - rw_downgrade(): do it in a for () loop like all the others. - Explicitly carry around RW_NODEBUG - don't be lazy. - Remove pointless macros. - Don't make assertions conditional on LOCKDEBUG, there's no reason. - Make space for a new flag bit (not added yet). To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/kern/kern_rwlock.c cvs rdiff -u -r1.12 -r1.13 src/sys/sys/rwlock.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.