Date: Mon, 19 Jan 2009 01:03:42 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r187416 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern Message-ID: <200901190103.n0J13gKp093463@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901190103.n0J13gKp093463>