Date: Thu, 23 Feb 2006 17:16:51 +0100 (CET) From: Antoine Brodin <antoine.brodin@laposte.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/93759: [Patch] A few typos in sys/kern/kern_mbuf.c Message-ID: <200602231616.k1NGGp7T095014@barton.dreadbsd.org> Resent-Message-ID: <200602231620.k1NGK9rc021179@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93759 >Category: kern >Synopsis: [Patch] A few typos in sys/kern/kern_mbuf.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 23 16:20:06 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 7.0-CURRENT i386 >Organization: none >Environment: System: FreeBSD barton.dreadbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Feb 22 20:15:40 CET 2006 antoine@barton.dreadbsd.org:/usr/obj/usr/src/sys/BARTON i386 >Description: There are a few typos in sys/kern/kern_mbuf.c >How-To-Repeat: read sys/kern/kern_mbuf.c >Fix: --- mbuf.diff begins here --- Index: kern_mbuf.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_mbuf.c,v retrieving revision 1.20 diff -u -p -r1.20 kern_mbuf.c --- kern_mbuf.c 17 Feb 2006 14:14:15 -0000 1.20 +++ kern_mbuf.c 23 Feb 2006 15:57:41 -0000 @@ -80,14 +80,14 @@ __FBSDID("$FreeBSD: src/sys/kern/kern_mb * \____________(VM)_________________/ * * - * Whenever a object is allocated with uma_zalloc() out of the + * Whenever an object is allocated with uma_zalloc() out of * one of the Zones its _ctor_ function is executed. The same - * for any deallocation through uma_zfree() the _dror_ function + * for any deallocation through uma_zfree() the _dtor_ function * is executed. * * Caches are per-CPU and are filled from the Master Zone. * - * Whenever a object is allocated from the underlying global + * Whenever an object is allocated from the underlying global * memory pool it gets pre-initialized with the _zinit_ functions. * When the Keg's are overfull objects get decomissioned with * _zfini_ functions and free'd back to the global memory pool. @@ -188,7 +188,7 @@ mbuf_init(void *dummy) zone_pack = uma_zsecond_create(MBUF_PACKET_MEM_NAME, mb_ctor_pack, mb_dtor_pack, mb_zinit_pack, mb_zfini_pack, zone_mbuf); - /* Make jumbo frame zone too. 4k, 9k and 16k. */ + /* Make jumbo frame zone too. Page size, 9k and 16k. */ zone_jumbop = uma_zcreate(MBUF_JUMBOP_MEM_NAME, MJUMPAGESIZE, mb_ctor_clust, mb_dtor_clust, #ifdef INVARIANTS @@ -291,7 +291,7 @@ mb_ctor_mbuf(void *mem, int size, void * /* * The mbuf is initialized later. The caller has the - * responseability to setup any MAC labels too. + * responsibility to setup any MAC labels too. */ if (type == MT_NOINIT) return (0); --- mbuf.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602231616.k1NGGp7T095014>