Hi. On Fri, 2007-04-27 at 14:44 -0700, Linus Torvalds wrote:a bad Make the machine being suspended a VM and you can already do that. s=20 h=20 It would be nice, yes. But in doing so you make the contents of the disk inconsistent with the state you've just snapshotted, leading to filesystem corruption. Even if you modify filesystems to do checkpointing (which is what we're really talking about), you still also have the problem that your snapshot has to be stored somewhere before you write it to disk, so you also have to either 1) write some known static memory to disk before the snapshot and reuse it for the snapshot, 2) ensure up to half the RAM is free for your snapshot or=20 3) compress the snapshot as you take it, guessing beforehand how much memory the compressed snapshot might take and freeing that might 4) reserve memory at boot time for the atomic copy so that 2) or 3) is still done, but without having to free the memory. (Yuk!). =20 Indeed. Nigel
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Adrian Bunk | -Os versus -O2 |
git: | |
| Gerrit Renker | [PATCH 28/37] dccp: Integration of dynamic feature activation - part 3 (client side) |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jean-Louis Dupond | tg3 driver not advertising 1000mbit |
