Am Dienstag, 3. Juli 2007 schrieb Benjamin Herrenschmidt: > > Now device drivers have a guaranteed temporal sequence: > > > > last io -> suspend() -> resume() [or disconnect()] -> new io > > No, that's always been bullshit. You can have IOs emitted by kernel > threads (think knfsd, and that's just one among many others). Beside, That's why we have the problem of freezing the kernel threads or not. Short of knfsd very few kernel threads really operate on their own and those can use the new notifier chain. > relying on having userland frozen means that your driver will be unable > to be "live" suspended/resumed for more ambitious dynamic power > management schemes. Only if they work without cooperation and idle detection in the drivers. > So it's always been wrong, imho, to rely on that. I've had powermac STR > work fine without the freezer for years, and few drivers have been a > problem, and we just fixed them. Powermacs are somewhat limited in hardware used with them (OK, powerbook have PCMCIA, but how often is that used?) You want to have all that pain for fuse? Regards Oliver _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm