snapshot: split up fork-based and mprotect-based snapshotting
authorBrian Norris <banorris@uci.edu>
Thu, 3 Jan 2013 02:14:17 +0000 (18:14 -0800)
committerBrian Norris <banorris@uci.edu>
Thu, 3 Jan 2013 03:12:03 +0000 (19:12 -0800)
commit118a914b24362a958656f3c23016266b4bf20bf0
treea752b7e4814147caf48692481e45c61c15be3524
parentc3ca7e70616c64ec1d21215e7b5ac51529affca5
snapshot: split up fork-based and mprotect-based snapshotting

The code is kind of cluttered with #if's and intermixed implementations.
Now, snapshot.cc is split into two halves, where the first half
implements mprotect-based snapshotting and the latter half implements
fork-based snapshotting.
snapshot.cc