summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_init.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-04-08 19:08:49 +0000
committeralc <alc@FreeBSD.org>2004-04-08 19:08:49 +0000
commite8b438d9b62fb996c6f7d1b0235975f60de0962f (patch)
tree026c61d2aa5552e5c47e376657522e943695fa7c /sys/vm/vm_init.c
parent9bd68e030421bb064cda7fb28c9ac4fe5ce9a9d8 (diff)
downloadFreeBSD-src-e8b438d9b62fb996c6f7d1b0235975f60de0962f.zip
FreeBSD-src-e8b438d9b62fb996c6f7d1b0235975f60de0962f.tar.gz
The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits
the reduction of the pager map's size by 8M bytes. In other words, eight megabytes of largely wasted KVA are returned to the kernel map for use elsewhere.
Diffstat (limited to 'sys/vm/vm_init.c')
-rw-r--r--sys/vm/vm_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c
index 65df1a9..282dd5c 100644
--- a/sys/vm/vm_init.c
+++ b/sys/vm/vm_init.c
@@ -185,12 +185,12 @@ again:
panic("startup: table size inconsistency");
clean_map = kmem_suballoc(kernel_map, &kmi->clean_sva, &kmi->clean_eva,
- (nbuf*BKVASIZE) + (nswbuf*MAXPHYS) + pager_map_size);
+ (nbuf*BKVASIZE) + (nswbuf*MAXPHYS));
buffer_map = kmem_suballoc(clean_map, &kmi->buffer_sva,
&kmi->buffer_eva, (nbuf*BKVASIZE));
buffer_map->system_map = 1;
pager_map = kmem_suballoc(clean_map, &kmi->pager_sva, &kmi->pager_eva,
- (nswbuf*MAXPHYS) + pager_map_size);
+ (nswbuf*MAXPHYS));
pager_map->system_map = 1;
exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(16*(ARG_MAX+(PAGE_SIZE*3))));
OpenPOWER on IntegriCloud