lkml.org 
[lkml]   [2007]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 0/2] New API to change the IDs of an existing IPC


Michael Kerrisk a écrit :
> Hi Pierre,
>
>> As I'm seeing some discussion/interest about IPC, I would like to propose
>> these patches, which provide an easy way to change the ID of an exiting IPC.
>> This work is done around the checkpoint/restart of applications. In the case of
>> the IPCs, we need (among others) this functionality.
>
> Can you give some more detailed explanation of why this
> functionaility is needed.

Sure; in the case of the checkpoint/restart, when you restart an application, what you want is to recreate all system ressources with the same properties they had, when you have checkpointed it.
For IPCs, this means that you need to recreate all the IPCs with the same IDs (at least).
For now, this ID is computed by the system when an IPC is created and you can't specify or modify it.

These patches give you the possibility of changing this ID once the IPC is created.

--
Pierre Peiffer
-
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/

\
 
 \ /
  Last update: 2007-10-01 09:21    [W:0.396 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site