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

Robert Watson rwatson at FreeBSD.org
Sun Jul 17 14:04:04 GMT 2005


rwatson     2005-07-17 14:04:03 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mbuf.c uipc_mbuf2.c 
    sys/sys              mbuf.h 
  Log:
  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_.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.10      +6 -4      src/sys/kern/kern_mbuf.c
  1.32      +2 -1      src/sys/kern/uipc_mbuf2.c
  1.171     +10 -0     src/sys/sys/mbuf.h


More information about the cvs-all mailing list