git: network - Increase basic mbuf size from 256 to 384 bytes

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 14 20:24:04 PDT 2010


commit ff9e829d332956874e662c0519e369b641da84ed
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 14 20:19:17 2010 -0700

    network - Increase basic mbuf size from 256 to 384 bytes
    
    * Due to the bloat in m_hdr and m_pkthdr the 256-byte mbuf structure
      is no longer large enough and there appears to be quite a bit of
      legacy code still using m_get() and making assumptions on the
      available space without checking actual space.
    
      We have assertions in place to catch these but stabilizing the
      system is more important right now.
    
    * Increase the basic mbuf buffer size from 256 to 384 bytes.

Summary of changes:
 sys/cpu/i386/include/param.h   |   18 ------------------
 sys/cpu/x86_64/include/param.h |   18 ------------------
 sys/sys/param.h                |   22 ++++++++++++++++++++++
 3 files changed, 22 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff9e829d332956874e662c0519e369b641da84ed


-- 
DragonFly BSD source repository





More information about the Commits mailing list