Correct an error in the comments for init_param3().
Discussed with: silby
This commit is contained in:
parent
67c58e8a6e
commit
6819e13eeb
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user