Messages in this thread | | | Date | Tue, 21 Nov 2000 09:56:26 -0800 | From | Johannes Erdfelt <> | Subject | Re: hardcoded HZ in hub.c |
| |
On Tue, Nov 21, 2000, David Woodhouse <dwmw2@infradead.org> wrote: > > jerdfelt@valinux.com said: > > We applied a slightly different patch which is would not remove the > > pages out from under the thread, using semaphores instead. > > > This patch isn't needed anymore. Thanks anyway. > > Actually, the best fix is probably to get rid of the thread entirely and use > schedule_task to run usb_hub_events() instead.
That that possible? usb_hub_events can block for a long time. That is why the kernel thread was needed. I'm not familiar with schedule_task enough to know if it can be used.
JE
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |