> I still do my "userspace freezing", except that it does not freeze the > process doing that. (Thats no change from previous design, > BTW). System snapshot works single CPU and with interrupts disabled; > so it indeed should be atomic. That should mean there are no > interesting races, as long as userspace app is not doing anything > stupid. Which include things like taking page faults etc... are you mlock'ing it all ? I really don't see the point though. It's not like we actually need a 3rd version of swsusp, and there are plenty of other more important things to work on ! > Userland application is currently simple port of kernel swsusp.c into > userspace, so it should not do anything stupid... > > Pavel