Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755232Ab0KSQGn (ORCPT ); Fri, 19 Nov 2010 11:06:43 -0500 Received: from hera.kernel.org ([140.211.167.34]:52703 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531Ab0KSQGl (ORCPT ); Fri, 19 Nov 2010 11:06:41 -0500 Message-ID: <4CE6A076.2020807@kernel.org> Date: Fri, 19 Nov 2010 17:06:14 +0100 From: Tejun Heo User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Alexey Dobriyan CC: Kirill Korotaev , Serge Hallyn , Kapil Arya , Gene Cooperman , "linux-kernel@vger.kernel.org" , Pavel Emelianov , "Eric W. Biederman" , Linux Containers Subject: Re: [Ksummit-2010-discuss] checkpoint-restart: naked patch References: <20101104164401.GC10656@sundance.ccs.neu.edu> <4CD3CE29.2010105@kernel.org> <20101106053204.GB12449@count0.beaverton.ibm.com> <20101106204008.GA31077@sundance.ccs.neu.edu> <4CD5D99A.8000402@cs.columbia.edu> <20101107184927.GF31077@sundance.ccs.neu.edu> <4CD72150.9070705@cs.columbia.edu> <4CE3C334.9080401@kernel.org> <20101117153902.GA1155@hallyn.com> <4CE3F8D1.10003@kernel.org> <20101119041045.GC24031@hallyn.com> <4CE683E1.6010500@kernel.org> <04F4899E-B5C7-4BAF-8F2F-05D507A91408@parallels.com> <4CE698C5.5060806@kernel.org> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Fri, 19 Nov 2010 16:06:16 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1313 Lines: 42 Hello, On 11/19/2010 05:00 PM, Alexey Dobriyan wrote: > On Fri, Nov 19, 2010 at 5:33 PM, Tejun Heo wrote: >>> - insert SKB's into socket buffers >> >> Can't we drain kernel buffers? ie. Stop further writing and wait the >> send-q to drop to zero. > > On send: > if network dies right after freeze, you lose. Gosh, if you're really worried about that, put a netfilter module which would buffer and simulate acks to extract the packets before initiating freeze. These are fringe problems. Use fringe solutions. > On receive: > packets arrive after process freeze, but before network device freeze. Just store the data somewhere. The checkpointer can drain the socket, right? >>> - setting different statistics counters (like netdev stats etc.) >>> and so on... >> >> Why would this matter? > > Because you'll introduce million stupid interfaces not interesting to > anyone but C/R. In this thread, how many have you guys come up with? Not even a dozen and most can be sovled almost trivially. Seriously, what the hell.. Thanks. -- tejun -- 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/