Linux Container Development
 help / color / mirror / Atom feed
From: Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
To: Nathan Lynch <ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
Cc: Containers
	<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: [PATCH] checkpoint/restart of robust futex lists
Date: Thu, 18 Jun 2009 23:41:13 -0400	[thread overview]
Message-ID: <4A3B08D9.5010805@cs.columbia.edu> (raw)
In-Reply-To: <m31vphgxa0.fsf-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>



Nathan Lynch wrote:
> Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org> writes:
>> What happens if we checkpoint on a system with CONFIG_FUTEX and
>> restart on a a system with !CONFIG_FUTEX ?
> 
> You can't disable FUTEX unless EMBEDDED=y, and EMBEDDED is the "I know
> what I'm doing" knob.  Is this really worth worrying about?
> 

Good point.

Still, a warning won't hurt, and can be done in userspace.
Even if you "know what you're doing", you may miss this detail.

But more importantly, this brings up the issue of how to encode
the configuration of the kernel used when a checkpoint is taken.

This information would indicate, in a sense, the set of assumptions
on the environments that can possibly restart from that checkpoint.

This can be checked by user space against the current kernel at
restart, and at the very least issue a warning about possible
incompatibility. User could override and proceed as is, or modify
the image, etc.

Coincidentally a similar discussion starts in the other thread
on combinations of namespace config options - "[PATCH 1/1] cr:
fix compilation with CONFIG_UTS_NS=n", so I'll raise it there.

Oren.

      parent reply	other threads:[~2009-06-19  3:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03  4:19 [PATCH] checkpoint/restart of robust futex lists Matt Helsley
     [not found] ` <20090603041919.GO9285-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-06-03 15:58   ` Serge E. Hallyn
     [not found]     ` <20090603155804.GA7848-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-06-08  2:28       ` Oren Laadan
2009-06-08  2:37   ` Oren Laadan
     [not found]     ` <4A2C7972.9090404-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-06-08 14:08       ` Serge E. Hallyn
     [not found]         ` <20090608140810.GB29432-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-06-08 16:31           ` Oren Laadan
     [not found]             ` <4A2D3CE3.6030400-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-06-08 16:59               ` Serge E. Hallyn
     [not found]                 ` <20090608165951.GA3610-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-06-08 18:34                   ` Oren Laadan
2009-06-18 17:12   ` Oren Laadan
     [not found]     ` <4A3A7572.9030907-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-06-18 19:24       ` Nathan Lynch
     [not found]         ` <m31vphgxa0.fsf-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2009-06-19  3:41           ` Oren Laadan [this message]

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=4A3B08D9.5010805@cs.columbia.edu \
    --to=orenl-eqauephvms7envbuuze7ea@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=ntl-e+AXbWqSrlAAvxtiuMwx3w@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