> >Yes. I spent quite a while cursing while I hacked on my test program > >to make sendfile do zero-copy. Thank goodness Solaris is open > >source, else it might have taken me much longer to figure out. > > Yes It's so easy to make sure that your application works properly when > you have access to the kernel code.
It's also easy to tie your application to implementation artifacts which will cause it to break during the next patch cycle. The fact that examining source is necessary in order to expected performance benefits from sendfile() means we have not properly documented it. Going further, my opinion is that *any* time one needs access to the source in order to properly use a public interface, a high-priority documentation bug needs to be filed. -- meem _______________________________________________ networking-discuss mailing list [email protected]
