cvs commit: src/sys/kern uipc_mbuf.c

John Baldwin jhb at FreeBSD.org
Tue Mar 7 13:31:21 PST 2006


jhb         2006-03-07 21:31:20 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_mbuf.c 
  Log:
  For consistency sake, use >= MINCLSIZE rather than > MINCLSIZE to determine
  whether or not to allocate a full mbuf cluster rather than just a plain
  mbuf when adding on additional mbufs in m_getm().  In practice, there wasn't
  any resulting mem trashing since m_getm() doesn't ever allocate an mbuf with
  a packet header, and MINCLSIZE is the available payload in an mbuf with a
  header rather than the available payload in a plain mbuf.
  
  Discussed with:         andre (lightly)
  
  Revision  Changes    Path
  1.163     +1 -1      src/sys/kern/uipc_mbuf.c


More information about the cvs-src mailing list