cvs commit: src/sys/alpha/alpha vm_machdep.csrc/sys/amd64/amd64 vm_machdep.c src/sys/i386/i386 vm_machdep.c src/sys/ia64/ia64 vm_machdep.c src/sys/powerpc/powerpc vm_machdep.c

Mike Silbersack silby at silby.com
Sat Dec 27 17:56:49 PST 2003


On Sat, 27 Dec 2003, Sam Leffler wrote:

> >   Move the declaration of sfbufspeak and sfbufsused to mbuf.h,
> >   and use imax instead of max, as sfbufspeak and sfbufsused
> >   are signed.
> >
>
> These have nothing to do with mbufs; why move the decls to mbuf.h?
>
> 	Sam

Because I can't think of anywhere else sendfile related values would fit.
So far our only use of sfbufs in the system is to attach them to mbufs and
send them out via sockets.  FWIW, I'm about to overload mbstat with some
sendfile statistics as well, because I can't think of another place that
they would fit well.  I'm open to ideas, as long as they don't involve
creating yet another header file.

Mike "Silby" Silbersack


More information about the cvs-src mailing list