cvs commit: src/sys/kern kern_mbuf.c
    Brian Somers 
    brian at FreeBSD.org
       
    Mon Sep 20 01:52:04 PDT 2004
    
    
  
brian       2004-09-20 08:52:04 UTC
  FreeBSD src repository
  Modified files:
    sys/kern             kern_mbuf.c 
  Log:
  CTASSERT that MSZIE is a power of 2 (otherwise dtom() breaks)
  Ask uma_zcreate() to align mbufs to MSIZE bytes (otherwise dtom() breaks)
  
  As it happens, uma_zalloc_arg() always returned mbufs aligned to MSIZE
  anyway, but that was an implementation side-effect....
  
  KASSERT -> CTASSERT suggested by: dd@
  Approved by:    silence on -net
  
  Revision  Changes    Path
  1.4       +4 -1      src/sys/kern/kern_mbuf.c
    
    
More information about the cvs-all
mailing list