Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754584AbZI3Q3Y (ORCPT ); Wed, 30 Sep 2009 12:29:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753088AbZI3Q3X (ORCPT ); Wed, 30 Sep 2009 12:29:23 -0400 Received: from gw0.danplanet.com ([71.245.107.82]:54407 "EHLO mail.danplanet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752475AbZI3Q3X (ORCPT ); Wed, 30 Sep 2009 12:29:23 -0400 To: Daniel Lezcano Cc: "Serge E. Hallyn" , linux-api@vger.kernel.org, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , torvalds@linux-foundation.org, mingo@elte.hu, xemul@openvz.org Subject: Re: [PATCH 00/80] Kernel based checkpoint/restart [v18] References: <1253749920-18673-1-git-send-email-orenl@librato.com> <20090924154139.2a7dd5ec.akpm@linux-foundation.org> <20090928163704.GA3327@us.ibm.com> <4AC20BB8.4070509@free.fr> <87iqf0o5sf.fsf@caffeine.danplanet.com> <4AC38477.4070007@free.fr> From: Dan Smith Date: Wed, 30 Sep 2009 09:29:23 -0700 In-Reply-To: <4AC38477.4070007@free.fr> (Daniel Lezcano's message of "Wed\, 30 Sep 2009 18\:16\:55 +0200") Message-ID: <87eipoo0po.fsf@caffeine.danplanet.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 26 DL> If the checkpoint is done from the kernel, why the restart DL> wouldn't be in the kernel too ? I think thus far we have taken the approach of "if it can be done reasonably in userspace, then do it there" right? Setup of the network devices is easy to do in userspace, allows more flexibility from a policy standpoint, and ensures that all existing security checks are performed. Also, migration may be easier if the userspace bits can call custom hooks allowing for routing changes and other infrastructure-specific operations. DL> Is there any documentation about the statefile format I can use if DL> I want to implement myself an userspace CR solution based on this DL> kernel patchset ? See linux-cr/include/linux/checkpoint_hdr.h and user-cr/restart.c. -- Dan Smith IBM Linux Technology Center email: danms@us.ibm.com -- 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/