Module Name:    src
Committed By:   chs
Date:           Thu Jun  8 01:09:52 UTC 2017

Modified Files:
        src/sys/kern: kern_condvar.c
        src/sys/sys: lwp.h

Log Message:
allow cv_signal() immediately followed by cv_destroy().
this sequence is used by ZFS in a couple places and by supporting it
natively we can undo our local ZFS changes that avoided it.
note that this is only legal when all of the waiters use cv_wait()
and not any of the other variations, and lockdebug will catch
any violations of this rule.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/kern_condvar.c
cvs rdiff -u -r1.174 -r1.175 src/sys/sys/lwp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to