diff options
| author | Mike Silbersack <silby@FreeBSD.org> | 2003-07-11 00:01:03 +0000 |
|---|---|---|
| committer | Mike Silbersack <silby@FreeBSD.org> | 2003-07-11 00:01:03 +0000 |
| commit | 347194c172d683e5113490e06c7e18f04aced8c8 (patch) | |
| tree | 6520509797f9e04c3508e2af7ee540da27b84ae9 /sys/kern/kern_malloc.c | |
| parent | 928a49644f7e46a3a716bdf6851870326735741f (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_malloc.c')
| -rw-r--r-- | sys/kern/kern_malloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 2d8daa3103ae..a90d628f77a2 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -445,6 +445,11 @@ kmeminit(dummy) vm_kmem_size = 2 * cnt.v_page_count * PAGE_SIZE; /* + * Tune settings based on the kernel map's size at this time. + */ + init_param3(vm_kmem_size / PAGE_SIZE); + + /* * In mbuf_init(), we set up submaps for mbufs and clusters, in which * case we rounddown() (nmbufs * MSIZE) and (nmbclusters * MCLBYTES), * respectively. Mathematically, this means that what we do here may |
