CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2014/08/17 22:06:16

Modified files:
        share/man/man9 : Makefile mbuf.9 
        sys/kern       : uipc_mbuf.c 
        sys/sys        : mbuf.h 

Log message:
introduce mbuf list and queue apis. both manage fifo lists of mbufs
and a count of the mbufs.

struct mbuf_list and the ml_foo() apis can be used to build lists of
mbufs where you dont need locking (eg, on the stack).

struct mbuf_queue and mq_foo() wrap mbuf_lists with a mutex, and
limits the number of mbufs that can be queued. they can be useful
for moving mbufs between contexts/subsystems.

with help from jmc@ for the manpage bits
mpi@ is keen

Reply via email to