Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757072AbYBDTvn (ORCPT ); Mon, 4 Feb 2008 14:51:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755455AbYBDTvf (ORCPT ); Mon, 4 Feb 2008 14:51:35 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:38691 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755425AbYBDTvf (ORCPT ); Mon, 4 Feb 2008 14:51:35 -0500 Date: Mon, 4 Feb 2008 20:51:50 +0100 From: Pavel Machek To: Benjamin Thery 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 Message-ID: <20080204195150.GA4915@elf.ucw.cz> References: <20080129160229.612172683@bull.net> <20080202182351.GC4456@ucw.cz> <47A732E2.1000504@bull.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47A732E2.1000504@bull.net> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1199 Lines: 31 Hi! >>> 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? > > For my personal culture, what do you mean by "broken by design"? int shmget(key_t key, size_t size, int shmflg); ....so how do you produce key in a way that is guaranteed not to interfere with other uses? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/