Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757224AbZCBQ1w (ORCPT ); Mon, 2 Mar 2009 11:27:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753892AbZCBQ1n (ORCPT ); Mon, 2 Mar 2009 11:27:43 -0500 Received: from e36.co.us.ibm.com ([32.97.110.154]:34442 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753345AbZCBQ1m (ORCPT ); Mon, 2 Mar 2009 11:27:42 -0500 Subject: Re: [RFC][PATCH 8/8] check files for checkpointability From: Dave Hansen To: Nathan Lynch Cc: "Serge E. Hallyn" , containers , "linux-kernel@vger.kernel.org" , hch@infradead.org, Ingo Molnar , Alexey Dobriyan In-Reply-To: <20090302095917.6cfeda55@thinkcentre.lan> References: <20090227203425.F3B51176@kernel> <20090227203435.98735E54@kernel> <20090302133754.GA8033@us.ibm.com> <20090302095917.6cfeda55@thinkcentre.lan> Content-Type: text/plain Date: Mon, 02 Mar 2009 08:27:31 -0800 Message-Id: <1236011251.26788.450.camel@nimitz> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 29 On Mon, 2009-03-02 at 09:59 -0600, Nathan Lynch wrote: > On Mon, 2 Mar 2009 07:37:54 -0600 > "Serge E. Hallyn" wrote: > > So on a practical note, Ingo's scheme appears to be paying off. In > > order for any program's files_struct to be checkpointable right now, > > it must be statically compiled, else ld.so (I assume) looks up > > /proc/$$/status. So since proc is not checkpointable, the result > > is irreversibly non-checkpointable. > > > > So... does it make sense to mark proc as checkpointable? Do we > > reasonably assume that the same procfile will be available at > > restart? > > With respect to /proc/$x/* where $x is the pid the restarted task wants, > is that not a chicken-and-egg problem? Do you mean that we have to go look into /proc to figure out which task we want before we can checkpoint it? That makes the process *doing* the checkpoint uncheckpointable, but no the process being examined. Anyway, I'll fix /proc. It is pretty important. -- Dave -- 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/