From: Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
To: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org,
Ralph-Gordon Paul
<Ralph-Gordon.Paul-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
Subject: Re: [PATCH 3/7] make CONFIG_CHECKPOINT dependonCONFIG_CHECKPOINT_SUPPORT
Date: Tue, 12 May 2009 12:16:20 -0400 [thread overview]
Message-ID: <4A09A0D4.40208@cs.columbia.edu> (raw)
In-Reply-To: <20090512154455.GA32658-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Serge E. Hallyn wrote:
> Quoting Oren Laadan (orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org):
>> Hi Gordon,
>>
>> Serge E. Hallyn wrote:
>>> Quoting Ralph-Gordon Paul (Ralph-Gordon.Paul-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org):
>>>> Ah okay sorry, i used this version: http://git.ncl.cs.columbia.edu/?p=linux-cr.git;a=shortlog;h=refs/heads/ckpt-v15
>>>>
>>>> Is this the official place to download the up to date version ?
>> ckpt-v15 branch per-se is a snapshot of the patchset as it was released.
>>
>> ckpt-v15-dev is the development branch that is based on ckpt-v15, and is
>> probably what you want to use.
>>
>> the userspace utilities are in the matching v15-dev in 'user-cr.git'.
>>
>>>> -Gordon
>>> Hi Gordon,
>>>
>>> yes, and you were right about needing compat vdso. Sorry about the
>>> inconvenience (since it was my patch). I was just saying that since
>>> Oren has added the underlying code for moving vdso around, there is no
>>> reason why we shouldn't complete that support (with 1 line of code)
>>> allowing us to remove the dependency on CONFIG_COMPAT_VDSO.
>> True, no need to keep that dependency. Will remove.
>>
>> Note, however, that we still don't handle the case where the contents of
>> the VDSO page(s) differ between checkpoint and restart time... So it's
>> on the todo list to at least detect that the format changed.
>
> sigh - yeah, and we still haven't decided how to cleanly solve that,
> have we... (apart from some arch-specific memcmp template/map that
> compares the code and not data...)
Heh .. I thought we outlined a suitable solution:
* On checkpoint, save the contents of the VDSO page(s), or their hash,
but not including any dynamic data exported by the kernel. The VDSO
contents themselves should be a shared object.
* On restart, compare the contents, or their hash, with the local
kenrel; If there is a match -- all well. If not - need to provide
some compatibility code in place of the original VDSO.
The gory details .. oh well ...
Oren.
next prev parent reply other threads:[~2009-05-12 16:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 23:02 [PATCH 0/7] checkpoint: Kconfig cleanup, powerpc support Nathan Lynch
[not found] ` <1238022166-13422-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2009-03-25 23:02 ` [PATCH 1/7] s390: enable checkpoint support in Kconfig Nathan Lynch
[not found] ` <1238022166-13422-2-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2009-03-25 23:26 ` Serge E. Hallyn
2009-03-25 23:02 ` [PATCH 2/7] x86: " Nathan Lynch
[not found] ` <1238022166-13422-3-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2009-03-25 23:26 ` Serge E. Hallyn
2009-03-25 23:02 ` [PATCH 3/7] make CONFIG_CHECKPOINT depend on CONFIG_CHECKPOINT_SUPPORT Nathan Lynch
[not found] ` <1238022166-13422-4-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2009-03-25 23:26 ` Serge E. Hallyn
2009-03-26 0:39 ` Dave Hansen
2009-03-26 3:09 ` Nathan Lynch
[not found] ` <20090325220931.2653f379-4v5LP+xe+1byhTdZtsIeww@public.gmane.org>
2009-05-12 11:20 ` Ralph-Gordon Paul
[not found] ` <FB599A4B-F618-4E6C-94D8-FC4EAE3D41D9-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
2009-05-12 12:10 ` [PATCH 3/7] make CONFIG_CHECKPOINT depend onCONFIG_CHECKPOINT_SUPPORT Serge E. Hallyn
[not found] ` <20090512121001.GB28695-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-12 12:42 ` Ralph-Gordon Paul
[not found] ` <3A15FE99-C94B-467B-B475-44BBED892C25-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
2009-05-12 14:29 ` [PATCH 3/7] make CONFIG_CHECKPOINT dependonCONFIG_CHECKPOINT_SUPPORT Serge E. Hallyn
[not found] ` <20090512142912.GA31449-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-12 15:16 ` Oren Laadan
[not found] ` <4A0992CB.9050404-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-05-12 15:44 ` Serge E. Hallyn
[not found] ` <20090512154455.GA32658-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-12 16:16 ` Oren Laadan [this message]
[not found] ` <4A09A0D4.40208-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-05-12 16:39 ` Serge E. Hallyn
2009-03-25 23:02 ` [PATCH 4/7] powerpc: provide APIs for validating and updating DABR Nathan Lynch
2009-03-25 23:02 ` [PATCH 5/7] powerpc: checkpoint/restart implementation Nathan Lynch
2009-03-25 23:02 ` [PATCH 6/7] powerpc: wire up checkpoint and restart syscalls Nathan Lynch
2009-03-25 23:02 ` [PATCH 7/7] powerpc: enable checkpoint support in Kconfig Nathan Lynch
2009-03-30 14:57 ` [PATCH 0/7] checkpoint: Kconfig cleanup, powerpc support Oren Laadan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A09A0D4.40208@cs.columbia.edu \
--to=orenl-eqauephvms7envbuuze7ea@public.gmane.org \
--cc=Ralph-Gordon.Paul-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox