vm_pageout.c (4e39a515d46856e0a90c1d93a1a5ea2865534e00) vm_pageout.c (05f0fdd26aa1789c04ae89358880922a54d197c3)
1/*
2 * Copyright (c) 1991 Regents of the University of California.
3 * All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 * Copyright (c) 1994 David Greenman
7 * All rights reserved.
8 *

--- 51 unchanged lines hidden (view full) ---

60 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
61 * School of Computer Science
62 * Carnegie Mellon University
63 * Pittsburgh PA 15213-3890
64 *
65 * any improvements or extensions that they make and grant Carnegie the
66 * rights to redistribute these changes.
67 *
1/*
2 * Copyright (c) 1991 Regents of the University of California.
3 * All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 * Copyright (c) 1994 David Greenman
7 * All rights reserved.
8 *

--- 51 unchanged lines hidden (view full) ---

60 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
61 * School of Computer Science
62 * Carnegie Mellon University
63 * Pittsburgh PA 15213-3890
64 *
65 * any improvements or extensions that they make and grant Carnegie the
66 * rights to redistribute these changes.
67 *
68 * $Id: vm_pageout.c,v 1.14 1994/10/05 09:02:53 davidg Exp $
68 * $Id: vm_pageout.c,v 1.15 1994/10/07 07:23:04 phk Exp $
69 */
70
71/*
72 * The proverbial page-out daemon.
73 */
74
75#include <sys/param.h>
76#include <sys/systm.h>
77#include <sys/proc.h>
78#include <sys/resourcevar.h>
79#include <sys/malloc.h>
80
81#include <vm/vm.h>
82#include <vm/vm_page.h>
83#include <vm/vm_pageout.h>
69 */
70
71/*
72 * The proverbial page-out daemon.
73 */
74
75#include <sys/param.h>
76#include <sys/systm.h>
77#include <sys/proc.h>
78#include <sys/resourcevar.h>
79#include <sys/malloc.h>
80
81#include <vm/vm.h>
82#include <vm/vm_page.h>
83#include <vm/vm_pageout.h>
84#include <vm/swap_pager.h>
84
85extern vm_map_t kmem_map;
86int vm_pages_needed; /* Event on which pageout daemon sleeps */
87int vm_pagescanner; /* Event on which pagescanner sleeps */
88int vm_pageout_free_min = 0; /* Stop pageout to wait for pagers at this free level */
89
90int vm_pageout_pages_needed = 0; /* flag saying that the pageout daemon needs pages */
91int vm_page_pagesfreed;

--- 769 unchanged lines hidden ---
85
86extern vm_map_t kmem_map;
87int vm_pages_needed; /* Event on which pageout daemon sleeps */
88int vm_pagescanner; /* Event on which pagescanner sleeps */
89int vm_pageout_free_min = 0; /* Stop pageout to wait for pagers at this free level */
90
91int vm_pageout_pages_needed = 0; /* flag saying that the pageout daemon needs pages */
92int vm_page_pagesfreed;

--- 769 unchanged lines hidden ---