DragonFly kernel List (threaded) for 2007-02
DragonFly BSD
DragonFly kernel List (threaded) for 2007-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Checkpointing vkernels


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Thu, 15 Feb 2007 18:03:34 +0000

Oliver Fromme wrote:
Matthew Dillon wrote:
> You can't at the moment, but only for two simple reasons: First,
> the checkpointing code doesn't save and restore state for
> MAP_VPAGETABLE, and second, the vkernel needs a signal handler for
> the checkpoint restore to re-create the VM spaces for all of its
> virtualized user processes.
> Neither of these is difficult to do. Saving the state for a > file-backed MAP_VPAGETABLE only requires saving the page table
> directory offset and mapping type. And writing a signal handler
> to re-create the VM spaces for all the virtualized user processes
> is just as easy, because the VM spaces are all mapped as VPAGETABLE's
> on the same physical memory backing file and the vkernel already knows > the page directory offset for each one.
Cool, I didn't think that it would be relatively easy to
implement that.

Do I hear a volunteer? ;)


Cheers,
--
        Thomas E. Spanjaard
        tgen@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]