From: Dave Hansen <dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
arnd-r2nGTMty4D4@public.gmane.org
Subject: Re: [RFC][PATCH 1/2] Track in-kernel when we expect checkpoint/restart to work
Date: Fri, 10 Oct 2008 09:33:34 -0700 [thread overview]
Message-ID: <1223656415.11830.48.camel@nimitz> (raw)
In-Reply-To: <48EF144D.1050906-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
On Fri, 2008-10-10 at 10:37 +0200, Daniel Lezcano wrote:
> For example, you create a socket, the process becomes uncheckpointable,
> you close (via sys_close) the socket, you have to track this close to be
> related to the socket which made the process uncheckpointable in order
> to make the operation reversible.
Challenging, yes. Not quite a nightmare, though.
It's basically the same problem we have with r/o bind mounts individual
users in the kernel need to check some global state. There are
temporary (like the duration of the syscall) and more chronic (like your
sockets) users. The hard part is making sure that everything gets
properly balanced with the chronic ones. But, we did manage to
accomplish that with the r/o bind mounts. I haven't seen a bug in
*hours*! ;)
In any case, we can worry about that later.
-- Dave
next prev parent reply other threads:[~2008-10-10 16:33 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081009190405.13A253CB@kernel>
2008-10-09 19:04 ` [RFC][PATCH 2/2] first callers of process_deny_checkpoint() Dave Hansen
2008-10-10 8:20 ` [RFC][PATCH 1/2] Track in-kernel when we expect checkpoint/restart to work Greg Kurz
[not found] ` <1223626834.8787.8.camel@localhost.localdomain>
[not found] ` <1223626834.8787.8.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-10-10 8:37 ` Daniel Lezcano
[not found] ` <48EF144D.1050906@fr.ibm.com>
[not found] ` <20081010145934.GF11695@elte.hu>
[not found] ` <20081010145934.GF11695-X9Un+BFzKDI@public.gmane.org>
2008-10-10 15:17 ` Oren Laadan
[not found] ` <48EF7211.2000303@cs.columbia.edu>
[not found] ` <48EF7211.2000303-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-10-10 15:28 ` Ingo Molnar
2008-10-10 16:34 ` Greg Kurz
[not found] ` <1223656489.10017.33.camel@localhost.localdomain>
[not found] ` <1223656489.10017.33.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-10-10 16:36 ` Dave Hansen
2008-10-10 20:57 ` Daniel Lezcano
2008-10-10 17:18 ` Chris Friesen
[not found] ` <48EF8E77.8050000@nortel.com>
[not found] ` <48EF8E77.8050000-ZIRUuHA3oDzQT0dZR+AlfA@public.gmane.org>
2008-10-13 8:18 ` Greg Kurz
[not found] ` <1223885897.4404.5.camel@localhost.localdomain>
[not found] ` <1223885897.4404.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-10-13 16:46 ` Serge E. Hallyn
[not found] ` <48EF144D.1050906-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-10 8:47 ` Greg Kurz
2008-10-10 10:11 ` Oren Laadan
2008-10-10 14:59 ` Ingo Molnar
2008-10-10 16:33 ` Dave Hansen [this message]
[not found] ` <20081009190406.1B257119@kernel>
2008-10-09 19:43 ` [RFC][PATCH 2/2] first callers of process_deny_checkpoint() Serge E. Hallyn
[not found] ` <20081009194350.GA31214@us.ibm.com>
[not found] ` <20081009194350.GA31214-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-10-09 20:54 ` Dave Hansen
[not found] ` <1223585671.11830.40.camel@nimitz>
2008-10-10 8:46 ` Ingo Molnar
[not found] ` <200810101517.17809.rjw@sisk.pl>
[not found] ` <200810101517.17809.rjw-KKrjLPT3xs0@public.gmane.org>
2008-10-10 14:54 ` Ingo Molnar
[not found] ` <20081010145422.GE11695@elte.hu>
[not found] ` <200810102153.45174.rjw@sisk.pl>
[not found] ` <200810102153.45174.rjw-KKrjLPT3xs0@public.gmane.org>
2008-10-10 19:53 ` Ingo Molnar
[not found] ` <20081010195339.GA509@elte.hu>
[not found] ` <20081010195339.GA509-X9Un+BFzKDI@public.gmane.org>
2008-10-10 20:40 ` Len Brown
2008-10-10 22:57 ` Rafael J. Wysocki
[not found] ` <20081010145422.GE11695-X9Un+BFzKDI@public.gmane.org>
2008-10-10 19:53 ` Rafael J. Wysocki
[not found] ` <20081010084614.GA319-X9Un+BFzKDI@public.gmane.org>
2008-10-10 13:17 ` Rafael J. Wysocki
2008-10-11 13:48 ` Pavel Machek
[not found] ` <20081011134803.GA1483@ucw.cz>
[not found] ` <20081011134803.GA1483-+ZI9xUNit7I@public.gmane.org>
2008-10-11 15:00 ` Ingo Molnar
2008-10-10 10:27 ` Cedric Le Goater
2008-10-10 8:41 ` Daniel Lezcano
2008-10-10 10:17 ` Cedric Le Goater
[not found] ` <48EF2BAB.1010009@fr.ibm.com>
[not found] ` <48EF2BAB.1010009-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-10 14:04 ` Serge E. Hallyn
[not found] ` <20081010140430.GA14640@us.ibm.com>
[not found] ` <20081010140430.GA14640-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-10-10 16:45 ` Greg Kurz
[not found] ` <1223657132.10017.42.camel@localhost.localdomain>
[not found] ` <1223657132.10017.42.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-10-10 17:13 ` Serge E. Hallyn
2008-10-10 17:28 ` Dave Hansen
[not found] ` <1223659707.11830.57.camel@nimitz>
2008-10-13 8:20 ` Greg Kurz
2008-10-09 19:04 [RFC][PATCH 1/2] Track in-kernel when we expect checkpoint/restart to work Dave Hansen
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=1223656415.11830.48.camel@nimitz \
--to=dave-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mingo-X9Un+BFzKDI@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