Date: Sun, 31 Aug 2003 22:55:37 -0700 (PDT) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_mbuf.c src/sys/netinet ip_output.c src/sys/sys mbuf.h Message-ID: <200309010555.h815tbYK021677@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2003/08/31 22:55:37 PDT FreeBSD src repository Modified files: sys/kern uipc_mbuf.c sys/netinet ip_output.c sys/sys mbuf.h Log: Implement MBUF_STRESS_TEST mark II. Changes from the original implementation: - Fragmentation is handled by the function m_fragment, which can be called from whereever fragmentation is needed. Note that this function is wrapped in #ifdef MBUF_STRESS_TEST to discourage non-testing use. - m_fragment works slightly differently from the old fragmentation code in that it allocates a seperate mbuf cluster for each fragment. This defeats dma_map_load_mbuf/buffer's feature of coalescing adjacent fragments. While that is a nice feature in practice, it nerfed the usefulness of mbuf_stress_test. - Add two modes of random fragmentation. Chains with fragments all of the same random length and chains with fragments that are each uniquely random in length may now be requested. Revision Changes Path 1.120 +84 -0 src/sys/kern/uipc_mbuf.c 1.193 +2 -18 src/sys/netinet/ip_output.c 1.123 +1 -0 src/sys/sys/mbuf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309010555.h815tbYK021677>