From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 23 16:20:10 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEEB916A420 for ; Thu, 23 Feb 2006 16:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5792143D48 for ; Thu, 23 Feb 2006 16:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1NGK9Xe021180 for ; Thu, 23 Feb 2006 16:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1NGK9rc021179; Thu, 23 Feb 2006 16:20:09 GMT (envelope-from gnats) Resent-Date: Thu, 23 Feb 2006 16:20:09 GMT Resent-Message-Id: <200602231620.k1NGK9rc021179@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antoine Brodin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F83E16A420 for ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/93759: [Patch] A few typos in sys/kern/kern_mbuf.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Antoine Brodin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 16:20:10 -0000 >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: