On Wed, 2005-03-09 at 06:00 -0800, Patrick Mochel wrote: > On Wed, 9 Mar 2005, Adam Belay wrote: > > > I agree that individual drivers should track their own usage. I was > > just wondering if we could provide some utility functions that would > > help with this. > > Definitely. > > > I'm sorry I wasn't clear on this. I also want the settings to be > > per-instance, not per class. I think that power management policy is a > > class level issue, however. In other words, a class could provide an > > array of policies, and each device could individually be assigned one. > > Ah, I see what you're saying. I think it is per-class, but I also think > that it's policy that should exist in Userspace. > > > Pat The ACPI spec provides information about power management policy for each class of device (minimum latency, suggested criteria for power changes, etc). It could be helpful as a general guideline. It may make sense to set policy in userspace, but execute it in the kernel. Adam