diff options
author | dg <dg@FreeBSD.org> | 1995-04-16 14:12:15 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-04-16 14:12:15 +0000 |
commit | 55264c56ce73c02531ef294ba4c61b723dbd1cd5 (patch) | |
tree | 4be3fb07e62a9a9d4ba0ce6436735e9e1f41afaa /sys | |
parent | 7a85187013f97a4621c981f7582f0ccbc8890b1b (diff) | |
download | FreeBSD-src-55264c56ce73c02531ef294ba4c61b723dbd1cd5.zip FreeBSD-src-55264c56ce73c02531ef294ba4c61b723dbd1cd5.tar.gz |
Removed obsolete/unused variable declarations. Killed externs and included
appropriate include files.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_fault.c | 3 | ||||
-rw-r--r-- | sys/vm/vm_pageout.c | 12 |
2 files changed, 4 insertions, 11 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index 9e04ee1..fd5ab56 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -66,7 +66,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_fault.c,v 1.21 1995/03/27 02:41:00 davidg Exp $ + * $Id: vm_fault.c,v 1.22 1995/04/09 06:03:48 davidg Exp $ */ /* @@ -92,7 +92,6 @@ int vm_fault_additional_pages __P((vm_object_t, vm_offset_t, vm_page_t, int, int #define VM_FAULT_READ_BEHIND 3 #define VM_FAULT_READ (VM_FAULT_READ_AHEAD+VM_FAULT_READ_BEHIND+1) extern int swap_pager_full; -extern int vm_pageout_proc_limit; struct vnode *vnode_pager_lock __P((vm_object_t object)); void vnode_pager_unlock __P((struct vnode *)); diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 761c0fe..e9bf321 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -65,7 +65,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_pageout.c,v 1.45 1995/04/09 06:03:53 davidg Exp $ + * $Id: vm_pageout.c,v 1.46 1995/04/16 12:56:22 davidg Exp $ */ /* @@ -85,24 +85,20 @@ #include <vm/vm.h> #include <vm/vm_page.h> #include <vm/vm_pageout.h> +#include <vm/vm_kern.h> #include <vm/swap_pager.h> #include <vm/vnode_pager.h> -extern vm_map_t kmem_map; int vm_pages_needed; /* Event on which pageout daemon sleeps */ -int vm_pagescanner; /* Event on which pagescanner sleeps */ int vm_pageout_pages_needed; /* flag saying that the pageout daemon needs pages */ -int vm_page_pagesfreed; extern int npendingio; -int vm_pageout_proc_limit; -int vm_pageout_req_swapout; +int vm_pageout_req_swapout; /* XXX */ int vm_daemon_needed; extern int nswiodone; extern int swap_pager_full; extern int vm_swap_size; -extern int swap_pager_ready(); extern int vfs_update_wakeup; #define MAXSCAN 1024 /* maximum number of pages to scan in queues */ @@ -111,7 +107,6 @@ extern int vfs_update_wakeup; #define VM_PAGEOUT_PAGE_COUNT 8 int vm_pageout_page_count = VM_PAGEOUT_PAGE_COUNT; -int vm_pageout_req_do_stats; int vm_page_max_wired; /* XXX max # of wired pages system-wide */ @@ -810,7 +805,6 @@ rescan1: wakeup((caddr_t) &cnt.v_free_count); } } - vm_page_pagesfreed += pages_freed; return force_wakeup; } |