Module Name: src Committed By: ozaki-r Date: Tue Nov 21 08:49:15 UTC 2017
Modified Files: src/sys/kern: kern_lock.c subr_pserialize.c src/sys/rump/librump/rumpkern: emul.c rump.c src/sys/sys: pserialize.h Log Message: Implement debugging feature for pserialize(9) The debugging feature detects violations of pserialize constraints. It causes a panic: - if a context switch happens in a read section, or - if a sleepable function is called in a read section. The feature is enabled only if LOCKDEBUG is on. Discussed on tech-kern@ To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/kern/kern_lock.c cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_pserialize.c cvs rdiff -u -r1.183 -r1.184 src/sys/rump/librump/rumpkern/emul.c cvs rdiff -u -r1.329 -r1.330 src/sys/rump/librump/rumpkern/rump.c cvs rdiff -u -r1.1 -r1.2 src/sys/sys/pserialize.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.