cvs commit: src/sys/sys mbuf.h src/sys/kern kern_mbuf.c uipc_mbuf.c

Kip Macy kmacy at FreeBSD.org
Sat Oct 6 14:42:39 PDT 2007


kmacy       2007-10-06 21:42:39 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
    sys/kern             kern_mbuf.c uipc_mbuf.c 
  Log:
  This patch adds an M_NOFREE flag which allows one to mark an mbuf as
  not being independently freeable. This allows one to embed an mbuf in
  the cluster itself. This confers the benefits of the packet zone on
  all cluster sizes. Embedded mbufs currently suffer from the same
  limitation that packet zone mbufs do in that one cannot disconnect
  them and pass them around independently of the cluster. It would
  likely be possible to eliminate this limitation in the future by
  adding a second reference for the mbuf itself.
  
  Approved by: re(gnn)
  
  Revision  Changes    Path
  1.32      +1 -0      src/sys/kern/kern_mbuf.c
  1.174     +11 -0     src/sys/kern/uipc_mbuf.c
  1.217     +2 -1      src/sys/sys/mbuf.h


More information about the cvs-src mailing list