cvs commit: src/sys/i386/i386 machdep.c src/sys/kern uipc_mbuf.c uipc_mbuf2.c src/sys/sys mbuf.h src/sys/vm vm_kern.c vm_kern.h vm_object.c src/sys/dev/atm/en midway.c src/sys/net/sl if_sl.c src/sys/netinet6 ipsec.c src/sys/netproto/ipx spx_usrreq.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 31 00:54:53 PDT 2004


dillon      2004/07/31 00:52:58 PDT

DragonFly src repository

  Modified files:
    sys/i386/i386        machdep.c 
    sys/kern             uipc_mbuf.c uipc_mbuf2.c 
    sys/sys              mbuf.h 
    sys/vm               vm_kern.c vm_kern.h vm_object.c 
    sys/dev/atm/en       midway.c 
    sys/net/sl           if_sl.c 
    sys/netinet6         ipsec.c 
    sys/netproto/ipx     spx_usrreq.c 
    sys/netproto/ns      spp_usrreq.c 
  Log:
  Get rid of mb_map.  Retool the mbuf and mbuf cluster allocator to use
  malloc() (our slab allocator).  Get rid of the NULL callback function for
  M_EXT buffers, assign real functions for standard M_EXT buffers and add
  a new flag M_EXT_CLUSTER to tell the mbuf code when an M_EXT buffer is
  under management by the mbuf cluster allocator.  Get rid of the address
  calculations and the char array ref count that used to exist for mbuf
  clusters.  Replace with a meta-data structure to keep track of ref
  counts.  Note that the new cluster code uses the new M_EXT mechanism.
  
  Increase the default mbuf+cluster pool from 10 to 20.  Add sysctl's to
  set the mbuf and mbuf cluster free-pool maximums (kern.ipc.mcl_free_max and
  kern.ipc.mbuf_free_max), beyond which mbuf and mbuf cluster memory is
  returned to the system.
  
  Revision  Changes    Path
  1.64      +0 -20     src/sys/i386/i386/machdep.c
  1.23      +363 -280  src/sys/kern/uipc_mbuf.c
  1.8       +1 -5      src/sys/kern/uipc_mbuf2.c
  1.14      +8 -54     src/sys/sys/mbuf.h
  1.18      +2 -9      src/sys/vm/vm_kern.c
  1.9       +0 -2      src/sys/vm/vm_kern.h
  1.18      +0 -2      src/sys/vm/vm_object.c
  1.13      +2 -2      src/sys/dev/atm/en/midway.c
  1.14      +15 -24    src/sys/net/sl/if_sl.c
  1.9       +3 -7      src/sys/netinet6/ipsec.c
  1.15      +1 -1      src/sys/netproto/ipx/spx_usrreq.c
  1.14      +1 -1      src/sys/netproto/ns/spp_usrreq.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf2.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_kern.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_kern.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_object.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/atm/en/midway.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/sl/if_sl.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ipsec.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/spx_usrreq.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/spp_usrreq.c.diff?r1=1.13&r2=1.14&f=u





More information about the Commits mailing list