cvs commit: src/sys/conf options src/sys/kern uipc_mbuf.c uipc_sockbuf.c src/sys/net route.c rtsock.c src/sys/sys mbuf.h

Matthew Dillon dillon at
Wed Aug 8 18:10:26 PDT 2007

dillon      2007/08/08 18:10:06 PDT

DragonFly src repository

  Modified files:
    sys/conf             options 
    sys/kern             uipc_mbuf.c uipc_sockbuf.c 
    sys/net              route.c rtsock.c 
    sys/sys              mbuf.h 
  Add the MBUF_DEBUG option.  This is a fairly invasive option that should
  not be used on production boxes.  All active mbufs are tracked with a separate
  tracking structure and arranged in a RB tree.  A kernel built with this
  option can dump all active mbufs with 'sysctl kern.ipc.showmbufs'.
  A person debugging the kernel can sprinkle mbuftrackid() calls in the code
  to associate an integer id with an mbuf to make the sysctl output more
  The size of the mbuf structure is NOT changed through the use of this option,
  but mbuf management overhead will be increased.
  Revision  Changes    Path
  1.69      +1 -0      src/sys/conf/options
  1.63      +120 -0    src/sys/kern/uipc_mbuf.c
  1.3       +12 -0     src/sys/kern/uipc_sockbuf.c
  1.32      +1 -0      src/sys/net/route.c
  1.40      +2 -0      src/sys/net/rtsock.c
  1.38      +6 -0      src/sys/sys/mbuf.h

More information about the Commits mailing list