From owner-svn-src-all@FreeBSD.ORG Mon Jan 19 01:03:43 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 387AC106564A; Mon, 19 Jan 2009 01:03:43 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 27A5E8FC19; Mon, 19 Jan 2009 01:03:43 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0J13hPo093465; Mon, 19 Jan 2009 01:03:43 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0J13gKp093463; Mon, 19 Jan 2009 01:03:42 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <200901190103.n0J13gKp093463@svn.freebsd.org> From: Alan Cox Date: Mon, 19 Jan 2009 01:03:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187416 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2009 01:03:43 -0000 Author: alc Date: Mon Jan 19 01:03:42 2009 New Revision: 187416 URL: http://svn.freebsd.org/changeset/base/187416 Log: MFC rev 180262 Correct an error in the comments for init_param3(). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/kern/kern_malloc.c stable/7/sys/kern/subr_param.c Modified: stable/7/sys/kern/kern_malloc.c ============================================================================== --- stable/7/sys/kern/kern_malloc.c Sun Jan 18 23:49:02 2009 (r187415) +++ stable/7/sys/kern/kern_malloc.c Mon Jan 19 01:03:42 2009 (r187416) @@ -618,7 +618,7 @@ kmeminit(void *dummy) vm_kmem_size = 2 * cnt.v_page_count * PAGE_SIZE; /* - * Tune settings based on the kernel map's size at this time. + * Tune settings based on the kmem map's size at this time. */ init_param3(vm_kmem_size / PAGE_SIZE); Modified: stable/7/sys/kern/subr_param.c ============================================================================== --- stable/7/sys/kern/subr_param.c Sun Jan 18 23:49:02 2009 (r187415) +++ stable/7/sys/kern/subr_param.c Mon Jan 19 01:03:42 2009 (r187416) @@ -172,14 +172,14 @@ init_param2(long physpages) } /* - * Boot time overrides that are scaled against the kernel map + * Boot time overrides that are scaled against the kmem map */ void init_param3(long kmempages) { /* - * The default for maxpipekva is max(5% of the kernel map, 512KB). + * The default for maxpipekva is max(5% of the kmem map, 512KB). * See sys_pipe.c for more details. */ maxpipekva = (kmempages / 20) * PAGE_SIZE;