Re: thread rant

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Sep 02 2000 - 15:28:53 EDT

  • Next message: Ingo Molnar: "Re: thread rant"

    On Sat, 2 Sep 2000, Ingo Molnar wrote:

    >
    > On Sat, 2 Sep 2000, Alexander Viro wrote:
    >
    > > Why? I would say that bad thing about SysV shared memory is that it's
    > > _not_ sufficiently filesystem-thing - a special API where 'create a
    > > file on ramfs and bloody mmap() it' would be sufficient. Why bother
    > > with special sets of syscalls?
    >
    > 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...

    -
    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:31:00 EDT