On Wednesday 27 January 2010, Pavel Machek wrote: > On Wed 2010-01-27 01:51:03, Rafael J. Wysocki wrote: > > On Tuesday 26 January 2010, Pavel Machek wrote: ... > > > > > > AFAICT no new interface is needed. Just do SNAPSHOT_FREEZE, then > > > _S2RAM then _UNFREEZE. > > > > That's not quite straightforward and I wouldn't seriously suggest that to > > anyone. > > Three ioctls, seems pretty much ok. They are for something else. Yes, you could use them for this purpose, incidentally. No, you shouldn't do that. OK? Please note that merely _opening_ /dev/snapshot has side effects, so that's not just "three ioctls". Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm