summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pager.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_pager.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_pager.c')
-rw-r--r--sys/vm/vm_pager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c
index 09280fb..b6fa7a6 100644
--- a/sys/vm/vm_pager.c
+++ b/sys/vm/vm_pager.c
@@ -176,9 +176,6 @@ int npagers = sizeof(pagertab) / sizeof(pagertab[0]);
* cleaning requests (NPENDINGIO == 64) * the maximum swap cluster size
* (MAXPHYS == 64k) if you want to get the most efficiency.
*/
-#define PAGER_MAP_SIZE (8 * 1024 * 1024)
-
-int pager_map_size = PAGER_MAP_SIZE;
vm_map_t pager_map;
static int bswneeded;
static vm_offset_t swapbkva; /* swap buffers kva */
OpenPOWER on IntegriCloud