diff options
| author | Alan Cox <alc@FreeBSD.org> | 2004-08-07 05:58:31 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2004-08-07 05:58:31 +0000 |
| commit | e0b47a134b54223952fc73d5b7fb377b2e81bdff (patch) | |
| tree | 563afe340549c4c5e308536ba340a91168bdc2a1 /sys/vm/vm_init.c | |
| parent | 899eeaa62f4f99e4f228ffac250d3d24105835b7 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_init.c')
| -rw-r--r-- | sys/vm/vm_init.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index 282dd5cf2980..d57738a12465 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -157,13 +157,8 @@ again: * Discount the physical memory larger than the size of kernel_map * to avoid eating up all of KVA space. */ - if (kernel_map->first_free == NULL) { - printf("Warning: no free entries in kernel_map.\n"); - physmem_est = physmem; - } else { - physmem_est = lmin(physmem, btoc(kernel_map->max_offset - - kernel_map->min_offset)); - } + physmem_est = lmin(physmem, btoc(kernel_map->max_offset - + kernel_map->min_offset)); v = kern_vfs_bio_buffer_alloc(v, physmem_est); |
