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

Robert Watson rwatson at FreeBSD.org
Mon Jul 25 00:08:13 GMT 2005


rwatson     2005-07-25 00:08:12 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             kern_mbuf.c uipc_mbuf2.c 
    sys/sys              mbuf.h 
  Log:
  Merge kern_mbuf.c:1.10, uipc_mbuf.c:1.32, mbuf.h:1.171 from HEAD to
  RELENG_6:
  
    Define four constants, MBUF_{,MEM,CLUSTER,PACKET,TAG}_MEM_NAME, which
    are string names for their respective UMA zones and malloc types, and
    are passed into uma_zcreate() and MALLOC_DEFINE().  Export them
    outside of _KERNEL in mbuf.h so that netstat can reference them.
  
    Change the names to improve consistency, with each zone/type
    associated with the mbuf allocator being prefixed mbuf_.
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.9.2.1    +6 -4      src/sys/kern/kern_mbuf.c
  1.31.2.1   +2 -1      src/sys/kern/uipc_mbuf2.c
  1.170.2.1  +10 -0     src/sys/sys/mbuf.h


More information about the cvs-src mailing list