From antoine@peanut.dreadbsd.org  Thu Feb 23 16:16:53 2006
Return-Path: <antoine@peanut.dreadbsd.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8F83E16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Feb 2006 16:16:53 +0000 (GMT)
	(envelope-from antoine@peanut.dreadbsd.org)
Received: from barton.dreadbsd.org (peanut.dreadbsd.org [82.67.196.50])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C9CA743D67
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Feb 2006 16:16:52 +0000 (GMT)
	(envelope-from antoine@peanut.dreadbsd.org)
Received: from barton.dreadbsd.org (localhost [127.0.0.1])
	by barton.dreadbsd.org (8.13.4/8.13.4) with ESMTP id k1NGGpIb095015
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Feb 2006 17:16:51 +0100 (CET)
	(envelope-from antoine@peanut.dreadbsd.org)
Received: (from antoine@localhost)
	by barton.dreadbsd.org (8.13.4/8.13.1/Submit) id k1NGGp7T095014;
	Thu, 23 Feb 2006 17:16:51 +0100 (CET)
	(envelope-from antoine)
Message-Id: <200602231616.k1NGGp7T095014@barton.dreadbsd.org>
Date: Thu, 23 Feb 2006 17:16:51 +0100 (CET)
From: Antoine Brodin <antoine.brodin@laposte.net>
Reply-To: Antoine Brodin <antoine.brodin@laposte.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [Patch] A few typos in sys/kern/kern_mbuf.c
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         93759
>Category:       kern
>Synopsis:       [kernel] [patch] A few typos in sys/kern/kern_mbuf.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 23 16:20:06 GMT 2006
>Closed-Date:    Sat Mar 18 21:56:14 GMT 2006
>Last-Modified:  Sat Mar 18 21:56:14 GMT 2006
>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:
State-Changed-From-To: open->patched 
State-Changed-By: glebius 
State-Changed-When: Sun Feb 26 11:44:31 UTC 2006 
State-Changed-Why:  
Committed, thanks! 


Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Sun Feb 26 11:44:31 UTC 2006 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93759 
State-Changed-From-To: patched->closed 
State-Changed-By: glebius 
State-Changed-When: Sat Mar 18 21:56:00 UTC 2006 
State-Changed-Why:  
Merged to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93759 
>Unformatted:
