Date: Mon, 20 Sep 2004 08:52:04 +0000 (UTC) From: Brian Somers <brian@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mbuf.c Message-ID: <200409200852.i8K8q4ut014795@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409200852.i8K8q4ut014795>