Re: hardcoded HZ in hub.c

From: Johannes Erdfelt (jerdfelt@valinux.com)
Date: Tue Nov 21 2000 - 12:56:26 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:21 EST