Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] System V Shared Memory for Open MPI: Request for Community Input and Testing
From: Christopher Samuel (samuel_at_[hidden])
Date: 2010-05-02 08:45:51

On 02/05/10 06:49, Ashley Pittman wrote:

> I think you should look into this a little deeper, it
> certainly used to be the case on Linux that setting
> IPC_RMID would also prevent any further processes from
> attaching to the segment.

That certainly appears to be the case in the current master
of the kernel, IPC_PRIVATE is set on the segment with the

                 /* Do not find it any more */

That flag means that ipcget() - used by sys_shmget() -
take a different code path and now call ipcget_new()
rather than ipcget_public().


  Christopher Samuel - Senior Systems Administrator
  VLSCI - Victorian Life Sciences Computational Initiative
  Email: samuel_at_[hidden] Phone: +61 (0)3 903 55545