Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758174AbZDPSM2 (ORCPT ); Thu, 16 Apr 2009 14:12:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755264AbZDPSMU (ORCPT ); Thu, 16 Apr 2009 14:12:20 -0400 Received: from zcars04e.nortel.com ([47.129.242.56]:45069 "EHLO zcars04e.nortel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754347AbZDPSMT (ORCPT ); Thu, 16 Apr 2009 14:12:19 -0400 Message-ID: <49E774B1.5060505@nortel.com> Date: Thu, 16 Apr 2009 12:10:57 -0600 From: "Chris Friesen" User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: Alexey Dobriyan CC: Greg Kurz , Oren Laadan , Linux-Kernel , Dave Hansen , containers@lists.osdl.org, Andrew Morton , Linus Torvalds , Ingo Molnar Subject: Re: C/R without "leaks" References: <49E40662.2040508@cs.columbia.edu> <20090414163633.GE27461@x200.localdomain> <49E4D89D.9060903@cs.columbia.edu> <20090415195629.GD26994@x200.localdomain> <1239835337.6610.6.camel@bahia> <20090416161215.GA8505@x200.localdomain> In-Reply-To: <20090416161215.GA8505@x200.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Apr 2009 18:11:00.0415 (UTC) FILETIME=[B279A4F0:01C9BEBE] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 23 Alexey Dobriyan wrote: > On Thu, Apr 16, 2009 at 12:42:17AM +0200, Greg Kurz wrote: >> On Wed, 2009-04-15 at 23:56 +0400, Alexey Dobriyan wrote: > >>> There are sockets and live netns as the most complex example. I'm not >>> prepared to describe it exactly, but people wishing to do C/R with >>> "leaks" should be very careful with their wishes. >> They should close their sockets before checkpoint and find/have some way >> to reconnect after. This implies some kind of C/R awareness in the code >> to be checkpointed. > > How do you imagine sshd closing sockets and reconnecting? Don't you already have to handle the case where an sshd connection is checkpointed, then the system is shutdown and the restore doesn't happen until after the TCP timeout? Chris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/