freebsd-dev/cddl/contrib
Xin LI 68ce9bc32d Apply upstream 13597:3eac1e8e0f4c (git: illumos-gate@aa846ad9):
Initialize tqent_flags in the userland taskq implementation.  Without
this the assertion of tq->tq_freelist != NULL may fail in taskq_destroy.

The problem is that tqent_flags is never initialized in the userland
implementation while the kernel one does initialize it.  Without proper
initialization, the flag may have its lowest bit set, making it treated
as TQENT_FLAG_PREALLOC and never removing taskq_ent_t from tq_freelist.

MFC after:	2 weeks
2014-11-09 01:42:28 +00:00
..
dtracetoolkit Update shellsnoop to work on FreeBSD. 2014-07-31 23:19:01 +00:00
opensolaris Apply upstream 13597:3eac1e8e0f4c (git: illumos-gate@aa846ad9): 2014-11-09 01:42:28 +00:00