On Sunday 03 January 2010, Daniel Borkmann wrote: ... > Actually I think this is what signals are there for and bringing this > information via signals would have least overhead, problem is that this > is not POSIX compliant, but may be you could have a try at this?! You need information to be passed both ways. Namely, a power manager (be it a kernel module or a user space process) has to communicate to the (other) processes that it's about to suspend and it should wait for each of them to say that it's now OK to suspend. You could do that with signals, but I guess it's not the easiest way. :-) Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm