Rafael J. Wysocki wrote: > On Wednesday, 18 July 2007 16:29, Alan Stern wrote: > > > > Never mind. It seems clear that this approach will suffer the same > > drawback as the proposal for removing the freezer from the > > suspend-to-RAM pathway. Namely, device drivers will have to be changed > > to prevent user I/O requests from proceeding while devices are supposed > > to be quiescent or in a low-power state. > > I agree. > > > If a driver fails to handle this properly, its device could be > > reactivated in order to service a user request before the memory > > snapshot is made. This could easily ruin the snapshot. > > That's why I've been saying for quite some time that we first need to take > care of the drivers. :-) > > IMO we've reached the point at which, whatever we want to do next, the > drivers are in the way. Correct, but only if we want ACPI support. Granted, we need a separation of the hibernate/suspend PM functions, but in the absence of ACPI, all we need right now are dump/restore routines for the crashkernel. Next, we should be looking into reducing the kexec'd kernel environment size, which currently, at 16MB, is way too big, and even at 1MB would be problematic for small systems. So, ACPI should really be the least of our worries, and the reason why people are fixating on ACPI is probably because they have nothing else to fixate on. They probably haven't even tried the kexec patches to appreciate how easy the kexec approach is and how little interference APCI represents when suspending and resuming. Thanks! -- Al _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm