From 6819e13eeb363fadad462ec29dd7538925ca5e05 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 4 Jul 2008 19:36:58 +0000 Subject: [PATCH] Correct an error in the comments for init_param3(). Discussed with: silby --- sys/kern/kern_malloc.c | 2 +- sys/kern/subr_param.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 3b169d53b21c..80007fb18d69 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -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); diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 39fd4a9d35d8..89150acf2cd8 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -191,14 +191,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;