kern/93759: [Patch] A few typos in sys/kern/kern_mbuf.c
Antoine Brodin
antoine.brodin at laposte.net
Thu Feb 23 08:20:10 PST 2006
>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 at 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:
More information about the freebsd-bugs
mailing list