On Thu, Sep 13, 2007 at 11:20:42AM -0400, Alan Stern wrote:
What about this is not feasible?
The amount of work for maintaining the list is the same:
No matter whether it's in-kernel or in the userspace, you need a list of
working devices in some machine readable format.
Whether this gets used by the kernel, by userspace, or both, shouldn't
make any difference.
Kernel image size can be a problem in some cases, but an in-kernel list
doesn't have to be mandatory but could be made selectable in kconfig.
Above you said "there's nothing to stop you from ... even turning
autosuspend on or off by hand".
If this will already be supported race-free, which races will still be
possible?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-