Re: [linux-pm] [suspend/resume] Re: userspace notification from module

From: Anders Eriksson
Date: Tue Jan 05 2010 - 04:28:24 EST



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/