Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757556AbYJPWxq (ORCPT ); Thu, 16 Oct 2008 18:53:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755146AbYJPWxh (ORCPT ); Thu, 16 Oct 2008 18:53:37 -0400 Received: from lemon.ertos.nicta.com.au ([203.143.174.143]:60830 "EHLO lemon.gelato.unsw.edu.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753327AbYJPWxg (ORCPT ); Thu, 16 Oct 2008 18:53:36 -0400 Date: Fri, 17 Oct 2008 09:51:42 +1100 Message-ID: <87r66g8875.wl%peter@chubb.wattle.id.au> From: Peter Chubb To: Oren Laadan Cc: Daniel Lezcano , Cedric Le Goater , jeremy@goop.org, arnd@arndb.de, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Dave Hansen , linux-mm@kvack.org, Alexander Viro , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , Andrey Mirkin In-Reply-To: <48F74674.20202@cs.columbia.edu> References: <1223461197-11513-1-git-send-email-orenl@cs.columbia.edu> <20081009124658.GE2952@elte.hu> <1223557122.11830.14.camel@nimitz> <20081009131701.GA21112@elte.hu> <1223559246.11830.23.camel@nimitz> <20081009134415.GA12135@elte.hu> <1223571036.11830.32.camel@nimitz> <20081010153951.GD28977@elte.hu> <48F30315.1070909@fr.ibm.com> <1223916223.29877.14.camel@nimitz> <48F6092D.6050400@fr.ibm.com> <48F685A3.1060804@cs.columbia.edu> <48F7352F.3020700@fr.ibm.com> <48F74674.20202@cs.columbia.edu> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 MULE XEmacs/21.4 (patch 21) (Educational Television) (i486-linux-gnu) Organization: Gelato@UNSW MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 203.143.161.65 X-SA-Exim-Mail-From: peterc@gelato.unsw.edu.au Subject: Re: [RFC v6][PATCH 0/9] Kernel based checkpoint/restart X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:39:27 +0000) X-SA-Exim-Scanned: Yes (on lemon.gelato.unsw.edu.au) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1595 Lines: 33 >>>>> "Oren" == Oren Laadan writes: Oren> Daniel Lezcano wrote: >>> >>> The one exception (and it is a tedious one !) are states in which >>> the task is already frozen by definition: any ptrace blocking >>> point where the tracee waits for the tracer to grant permission to >>> proceed with its execution. Another example is in vfork(), waiting >>> for completion. >> I would say these are perfect places for "may be >> non-checkpointable" :) Oren> For now, yes. But we definitely want this capability in the long Oren> run; otherwise we won't be able to checkpoint a kernel compile Oren> ('make' uses vfork), or anything with 'gdb' running inside, or Oren> 'strace', and other goodies. The strace/gdb example is *really* hard; but for vfork, you just wait until it's over. The interval between vfork and exec/exit should be short enough not to affect the overall time for a checkpoint (and checkpoint can be fairly slow anyway --- on the HPC machines we used to do it on, writing half a terabyte of checkpoint image to disc could take many minutes. In hindsight, we should have multithreaded it). Waiting for a vforked process to exec is less than a millisecond. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia -- 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/