sleep bug in taskqueue(9)

Hans Petter Selasky hselasky at c2i.net
Fri Nov 12 09:07:40 UTC 2010


On Friday 12 November 2010 10:06:10 you wrote:
> -               queue->tq_running = NULL;

forgot this check:

		/* don't clear if queued again */
		if (task->ta_entry.tqe_prev == (void *)1)
> +               task->ta_entry.tqe_prev = (void *)0;
>                 wakeup(task);


More information about the freebsd-current mailing list