Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 11:59:05 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        kuku@gilberto.physik.RWTH-Aachen.DE, hackers@FreeBSD.ORG
Subject:   Re: portability of shm, mmap, pipes and socket IPC
Message-ID:  <199902101959.LAA85684@apollo.backplane.com>
References:   <199902101839.LAA18447@usr07.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
:>     true on all implementations that I know of.  It is also appropriate -
:>     the validity of the mmap()'d data only extends to the logical end of
:>     file.
:
:Yes, yes, that's not the problem.
:
:The problem is that INN apparently still fails when using mmap without
:msync.  The utility of msync is overrated; the code does not actually
:do what the manual page claims it does, in any case.

    'apparently still fails'.  In otherwords, you aren't sure whether
    it's a bug in INN or a bug in the OS.  You don't know why exactly
    INN is not working, but you are blaming FreeBSD.

    There could be a bug in FreeBSD, but unless someone can track it down
    a little better then "Well, this one program doesn't work so it MUST
    be a bug in FreeBSD", there isn't much we can do about it now is there!
    From where I sit, I don't see any bugs.

:>     All semaphores are inadequately resource tracked in _exit(), it's a
:>     problem inherited from the SYSV implementation.
:
:Shared memory is badly tracked.  But semaphores are supposed to be
:capable of being counted out by _exit(), per the SysV man pages
:for semop(2) an exit(2):

:FreeBSD either doesn't do this, or the FreeBSD manual pages are in error.
:
:
:					Terry Lambert
:					terry@lambert.org

    FreeBSD supports it just fine.  If there is a bug, spell it out and
    demonstrate it and we'll fix it.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902101959.LAA85684>