shm ?

Mathieu Bouchard (boum01@UQAH.UQuebec.CA)
Wed, 17 Jun 1998 03:32:33 -0400 (EDT)


isn't that pretty much of a documented bug? the user is expected to free
the shmblocks that an ill-constructed app (like mine) will have left
behind because of bugs?

taken from man shmctl:

The user must ensure that a segment is eventually
destroyed; otherwise its pages that were faulted in will
remain in memory or swap.

however, i have tested the same program under Linux and Solaris, and
Solaris didn't seem to "lose" memory, while Linux seems to. I have written
a report on the tests we've done on Linux systems and shm. I should've
RTFM, because now i know the manpages say it's "normal".

matju

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu