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
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 
  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

More information about the Commits mailing list