Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6

From: Alan Stern
Date: Thu Sep 13 2007 - 16:32:34 EST


On Thu, 13 Sep 2007, Adrian Bunk wrote:

> > Maybe you're concerned about propagating updates as painlessly as
> > possible -- if the whitelist is in the kernel then every kernel release
> > would include an update. But in userspace it's possible to do updates
> > even more quickly and painlessly. For example, there could be a
> > network server available for both interactive lookups and automatic
> > queries from HAL.
> >...
>
> No, what I'm concerned about is that this would require userspace for
> something that is completely in-kernel.

But it isn't completely in-kernel. It is policy, and policy belongs in
userspace.

The kernel provides the mechanism for autosuspending idle devices and
setting the idle-delay length. But userspace must be responsible for
deciding what devices to autosuspend and how long the idle delays
should be.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/