DragonFly commits List (threaded) for 2008-04
DragonFly BSD
DragonFly commits List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/bus/usb usb.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Apr 2008 15:55:29 -0700 (PDT)

: 	crit_enter();
:
:+	/*
:+	 * Wait if task is currently executing
:+	 */
:+	while (task->queue == -2)
:+		tsleep(task, 0, "usbwttsk", hz);
:
:This will cause deadlock, if task's function wants to enqueue itself.
:rum(4) or ural(4) will do that kind of stuffs (the recursion is down
:deep into 802.11 stack)
:
:Best Regards,
:sephe

    That patch was questionable when I wrote it.  Go ahead and remove it.

						-Matt




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]