Correct an error in the comments for init_param3().

Discussed with: silby
This commit is contained in:
Alan Cox 2008-07-04 19:36:58 +00:00
parent 67c58e8a6e
commit 6819e13eeb
2 changed files with 3 additions and 3 deletions

View File

@ -618,7 +618,7 @@ kmeminit(void *dummy)
vm_kmem_size = 2 * cnt.v_page_count * PAGE_SIZE; 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); init_param3(vm_kmem_size / PAGE_SIZE);

View File

@ -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 void
init_param3(long kmempages) 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. * See sys_pipe.c for more details.
*/ */
maxpipekva = (kmempages / 20) * PAGE_SIZE; maxpipekva = (kmempages / 20) * PAGE_SIZE;