Re: [linux-usb-devel] error to be returned while suspended

From: Oliver Neukum
Date: Sun Oct 08 2006 - 09:23:45 EST


Am Sonntag, 8. Oktober 2006 02:03 schrieb David Brownell:
> > The power management functions without
> > timeout are also exported. For other power control features like
> > cpu frequency considerable effort has been made to export them to
> > user space.
>
> Yes, and many of us use the much lighter weight kernel based control
> models by preference.   Why waste hundreds of Kbytes of userspace for
> a daemon when a few hundred bytes of kernel code can implement a
> better and more reactive kernel policy for cpufreq?

That's an important aspect. How about implementing autosuspend
first and keeping the sysfs-based suspension for now? If autosuspend
is done, we have something to compare too. If a different solution
emerges to be advantagous under some conditions we can talk about
the interface later.

Regards
Oliver
-
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/