OpenBSD/src 0F71JFy — sys/kern kern_smr.c subr_xxx.c
Add SMR_ASSERT_NONCRITICAL() in assertwaitok(). This eases debugging because now the error is detected before context switch. The sleep code path eventually calls assertwaitok() in mi_switch(), so the assertwaitok() in the SMR barrier function is somewhat redundant and can be removed. OK mpi@
Version | Delta | File | |
---|---|---|---|
1.4 | +1 | -4 | sys/kern/kern_smr.c |
1.17 | +3 | -1 | sys/kern/subr_xxx.c |
+4 | -5 | 2 files |