On Thu, 2007-03-22 at 10:10 -0700, David Brownell wrote: > Seems kind of temporary, so long as pm_set_ops() doesn't > enforce that as a requirement ... I just sent a patch to akpm to do exactly that :) > > we can add an > > arbitrary amount of them if we wish :> > > For as many as can be #defined, yes. But such #defines will > be rare; adding a new one would mean updating pm_states[] > plus maybe other code, and there are other structural issues > with that notion ... True. I think pm_states is the only thing that would need to be changed, but I don't really advocate changing it and introducing dozens of new states. > especially the way suspend() methods > have no way to determine the semantics of the target state. I can't parse that. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm