svn commit: r282971 - in head/sys: kern sys

Xin Li delphij at delphij.net
Wed May 20 21:26:21 UTC 2015


I think we should also assert that no waiter remains when a conditional
variable is destroyed (which also suggests that the memory may be freed
shortly).  Otherwise we would either have modify after free or lost wakeups.

Cheers,
-- 
Xin LI <delphij at delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kerncv-assert-waiters-on-destroy.diff
Type: text/x-patch
Size: 418 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150520/245b9a86/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150520/245b9a86/attachment.sig>


More information about the svn-src-all mailing list