Re: thread rant

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat Sep 02 2000 - 15:45:52 EDT

  • Next message: Linus Torvalds: "Re: 2.4.0-test8-pre1 is quite bad / how about integrating Rik's VM now?"

    Ingo Molnar writes:
    >
    > On Sat, 2 Sep 2000, Alexander Viro wrote:
    >
    > > > what i mean is that i dont like the cleanup issues associated with SysV
    > > > shared memory - eg. it can hang around even if all users have exited, so
    > > > auto-cleanup of resources is not possible.
    > >
    > > unlink() and the last munmap()/exit() will get rid of it...
    >
    > yep - and this isnt possible with traditional SysV shared memory,
    > and isnt possible with traditional SysV semaphores. (forget my
    > filesystem comment, it's a thinko.)

    Huh? After attaching, if you "delete" a SHMID, it will be removed when
    all processes referring to it unattach or die. Fairly similar
    semantics.

                                    Regards,

                                            Richard....
    Permanent: rgooch@atnf.csiro.au
    Current: rgooch@ras.ucalgary.ca
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Sep 02 2000 - 15:48:23 EDT