Date: Thu, 18 Jun 2009 17:59:04 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_mbuf.c Message-ID: <200906181759.n5IHxPO8063476@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2009-06-18 17:59:04 UTC FreeBSD src repository Modified files: sys/kern kern_mbuf.c Log: SVN rev 194454 on 2009-06-18 17:59:04Z by alc Utilize the new function kmem_alloc_contig() to implement the UMA back-end allocator for the jumbo frames zones. This change has two benefits: (1) a custom back-end deallocator is no longer required. UMA's standard deallocator suffices. (2) It eliminates a potentially confusing artifact of using contigmalloc(): The malloc(9) statistics contain bogus information about the usage of jumbo frames. Specifically, the malloc(9) statistics report all jumbo frames in use whereas the UMA zone statistics report the "truth" about the number in use vs. the number free. Revision Changes Path 1.46 +4 -17 src/sys/kern/kern_mbuf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906181759.n5IHxPO8063476>