Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756060AbYBDPoh (ORCPT ); Mon, 4 Feb 2008 10:44:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751246AbYBDPoa (ORCPT ); Mon, 4 Feb 2008 10:44:30 -0500 Received: from ecfrec.frec.bull.fr ([129.183.4.8]:42081 "EHLO ecfrec.frec.bull.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbYBDPo3 (ORCPT ); Mon, 4 Feb 2008 10:44:29 -0500 Message-ID: <47A732E2.1000504@bull.net> Date: Mon, 04 Feb 2008 16:44:34 +0100 From: Benjamin Thery User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Pavel Machek Cc: pierre.peiffer@bull.net, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.24-rc8-mm1 00/15] IPC: code rewrite + new functionalities References: <20080129160229.612172683@bull.net> <20080202182351.GC4456@ucw.cz> In-Reply-To: <20080202182351.GC4456@ucw.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1617 Lines: 42 Pavel Machek wrote: > Hi! > >> * Patches 9 to 15 propose to add some functionalities, and thus are >> submitted here for RFC, about both the interest and their implementation. >> These functionalities are: >> - Two new control-commands: >> . IPC_SETID: to change an IPC's id. >> . IPC_SETALL: behaves as IPC_SET, except that it also sets all time >> and pid values) >> - add a /proc//semundo file to read and write the undo values of >> some semaphores for a given process. >> >> As the namespaces and the "containers" are being integrated in the >> kernel, these functionalities may be a first step to implement the >> checkpoint/restart of an application: in fact the existing API does not allow >> to specify or to change an ID when creating an IPC, when restarting an >> application, and the times/pids values of each IPCs are also altered. May be >> someone may find another interest about this ? >> >> So again, comments are welcome. > > Checkpoint/restart is nice, but... sysV ipc is broken by design, do we > really want to extend it? > Pavel For my personal culture, what do you mean by "broken by design"? Even if it's broken, don't you think some people could be interested in checkpointing "legacy" applications that use SysV IPC? Benjamin -- B e n j a m i n T h e r y - BULL/DT/Open Software R&D http://www.bull.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/