diff options
author | dyson <dyson@FreeBSD.org> | 1996-11-17 02:38:31 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-11-17 02:38:31 +0000 |
commit | 2383152fd5e318242076cf1011e1c9bd9367262e (patch) | |
tree | 76db49f4ff238eb118aecba8ba06dc170713aa45 /sys/vm/vm_kern.c | |
parent | e3484cdbc1de6605c8c37fbdb2e55cfa25913db9 (diff) | |
download | FreeBSD-src-2383152fd5e318242076cf1011e1c9bd9367262e.zip FreeBSD-src-2383152fd5e318242076cf1011e1c9bd9367262e.tar.gz |
Improve the locality of reference for variables in vm_page and
vm_kern by moving them from .bss to .data. With this change,
there is a measurable perf improvement in fork/exec.
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r-- | sys/vm/vm_kern.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 5b117b0..1c564be 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_kern.c,v 1.26 1996/05/23 02:24:55 dyson Exp $ + * $Id: vm_kern.c,v 1.27 1996/07/02 02:08:02 dyson Exp $ */ /* @@ -89,19 +89,19 @@ #include <vm/vm_kern.h> #include <vm/vm_extern.h> -vm_map_t buffer_map; -vm_map_t kernel_map; -vm_map_t kmem_map; -vm_map_t mb_map; -int mb_map_full; -vm_map_t mcl_map; -int mcl_map_full; -vm_map_t io_map; -vm_map_t clean_map; -vm_map_t phys_map; -vm_map_t exec_map; -vm_map_t exech_map; -vm_map_t u_map; +vm_map_t kernel_map=0; +vm_map_t kmem_map=0; +vm_map_t exec_map=0; +vm_map_t exech_map=0; +vm_map_t clean_map=0; +vm_map_t u_map=0; +vm_map_t buffer_map=0; +vm_map_t mb_map=0; +int mb_map_full=0; +vm_map_t mcl_map=0; +int mcl_map_full=0; +vm_map_t io_map=0; +vm_map_t phys_map=0; /* * kmem_alloc_pageable: |