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;