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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to