3 ms·
It's pretty sad to see someone trashing a process checkpoint and restart facility because they've never seen one before. As other commenters have added, checkp
by kragen 10y ago
It's pretty sad to see someone trashing a process checkpoint and restart facility because they've never seen one before. As other commenters have added, checkpoint-and-restart is a pretty useful facility for a variety of reasons; it's a shame that Unix doesn't support it better.
I imagine if the author of this article looked at a Unix kernel they would start arguing that we should remove context switches because they don't understand them.
- icedchai 10y agoYou can kind of simulate checkpoint w/restart using memory mapped files. I've seen some pretty large late 90's/early 2000's era systems do this for their "in memory" databases.
- caf 10y agoI have wondered before if emacs could use CRIU on Linux to do this ( https://criu.org/Main_Page https://criu.org/Main_Page ).
- rurban 10y agoI've looked into criu. It's usable, but not as good as unexec and not yet properly supported from packagers. Even if only the build step needs it. And it doesn't produce a single binary, which is ok I guess for emacs. Easier IMHO is to keep maintaining a proper malloc implementation. glibc were not able to update to ptmalloc3 anyway, and now they want to destroy ptmalloc2 even more. I wouldn't trust them.