Dnia 5 stycznia 2010 10:07 Anders Eriksson <aeriksson@xxxxxxxxxxx> napisał(a): > > rjw@xxxxxxx said: > >> > I don't see a problem with this in principle, although I don't think signals > >> > are very suitable for this particular purpose, because you need two-way > >> > communication between the power manager and the processes it's going to > >> > notify (because it has to wait for the processes to finish their preparations > >> > and to tell it that they are ready). > > Wouldn't there need to be dependecy tracking for the userspace processes? A > process couldn't signal "done" until it know there's no more work to do, which > requires all other processes to finish up first. > Not all processes will need pm notification. Just in case, could this "power manager" be provided as userspace driver for kernel (for example compiled as UIO)? Best regards. Bartłomiej Zimoń PLD Linux, Kadu Team, FreeRunner user http://kadu-im.blogspot.com/ _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm