> Please have a look at the documentation update at the bottom of this patch: > > http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.22-rc7/patches/15-freezer-make-kernel-threads-nonfreezable-by-default.patch > > It says what the freezer is for in the first place. :-) Thanks, good description. > > Yes, we need to make sure, that nothing is scheduled during (and > > possibly after) taking the snapshot. But AFAICS that could be > > achieved by unplugging all but one CPU. > > Actually, we want things to get scheduled, because we need some of them to > save the image (to make things more difficult, we don't know what will be > needed to save the image in advance ;-)). Well, kexecing a new kernel (as being pursued in one of the subthreads) to do the saving should take care of that. In that case the "we need suspend to be invisible to userspace" as a reason to use the freezer would also be moot, since if you don't schedule userspace after offlining the CPUs, it can't notice this. Miklos _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm