On Tue, 2015-10-20 at 10:59 +0100, Alan Burlison wrote: > That may be how Linux implements accept(), but I don't see anything > about refcounting in the POSIX spec for accept().
That's an internal implementation detail. POSIX does not document linux kernel overall design and specific tricks. linux is GPL, while Solaris is proprietary code. There is quite a difference, and we do not want to copy Solaris behavior. We want our own way, practical, and good enough. If POSIX makes sense we try to be compliant. If not, we do not. If you are interested, take a look at fs/* code, and try to implement your proposal and keep good performance. You might find a clever way, without infringing prior art. We did not yet. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html