DragonFly commits List (threaded) for 2007-08
DragonFly BSD
DragonFly commits List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Aug 2007 18:10:06 -0700 (PDT)

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 
  Log:
  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
  useful.
  
  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


http://www.dragonflybsd.org/cvsweb/src/sys/conf/options.diff?r1=1.68&r2=1.69&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf.c.diff?r1=1.62&r2=1.63&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_sockbuf.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/rtsock.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.37&r2=1.38&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]