Date: Thu, 11 Feb 1999 00:55:37 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: dillon@apollo.backplane.com (Matthew Dillon) Cc: tlambert@primenet.com, kuku@gilberto.physik.RWTH-Aachen.DE, hackers@FreeBSD.ORG Subject: Re: portability of shm, mmap, pipes and socket IPC Message-ID: <199902110055.RAA26497@usr08.primenet.com> In-Reply-To: <199902101959.LAA85684@apollo.backplane.com> from "Matthew Dillon" at Feb 10, 99 11:59:05 am
next in thread | previous in thread | raw e-mail | index | archive | help
> :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. I am repeating a posting by an INN user to the -current list. I used the word "apparently" to indicate that the information was second-hand and that the original source should be queried instead of mo, *not* to indicate a lack of faith that there *is* a FreeBSD bug. > :> 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. > > FreeBSD supports it just fine. If there is a bug, spell it out and > demonstrate it and we'll fix it. FreeBSD must maintain and correctly apply at process exit the value of sem_adj. See the referenced Solaris man pages for semantic details. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?199902110055.RAA26497>