Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2001 15:23:25 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_mbuf.c
Message-ID:  <200103172323.f2HNNPs72845@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2001/03/17 15:23:25 PST

  Modified files:
    sys/kern             uipc_mbuf.c 
  Log:
  Fix a couple of things in the internal mbuf allocation interface:
  
  - Make sure that m_mballoc() really doesn't allow over nmbufs mbufs to
    be allocated from mb_map. In the case where nmbufs-reserved space is not
    an exact multiple of PAGE_SIZE (which it should be, but anyway...), we
    hold nmbufs as an absolute maximum which need not ever be reached.
  
  - Clean up m_clalloc(); make it more consistent in the sense that the first
    argument `ncl' really means "the number of clusters ensured to be allocated"
    and not "the number of pages worth of clusters to be allocated," as was
    previously the case. This also makes it consistent with m_mballoc() as well
    as the comment that preceeds it.
  
  Reviewed by: jlemon
  
  Revision  Changes    Path
  1.70      +9 -9      src/sys/kern/uipc_mbuf.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103172323.f2HNNPs72845>