summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2008-07-04 19:36:58 +0000
committerAlan Cox <alc@FreeBSD.org>2008-07-04 19:36:58 +0000
commit6819e13eeb363fadad462ec29dd7538925ca5e05 (patch)
treeb3fc0fb7903e752b38bd8ce5458f4ed23ea9fb35 /sys
parent67c58e8a6e7a361a02336ca1f3804c8add5d65df (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_malloc.c2
-rw-r--r--sys/kern/subr_param.c4
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;