vm_pageout.c (92588) | vm_pageout.c (92654) |
---|---|
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 * $FreeBSD: head/sys/vm/vm_pageout.c 92588 2002-03-18 15:08:09Z green $ | 68 * $FreeBSD: head/sys/vm/vm_pageout.c 92654 2002-03-19 09:11:49Z jeff $ |
69 */ 70 71/* 72 * The proverbial page-out daemon. 73 */ 74 75#include "opt_vm.h" 76#include <sys/param.h> --- 567 unchanged lines hidden (view full) --- 644 int maxlaunder; 645 int s; 646 647 GIANT_REQUIRED; 648 /* 649 * Do whatever cleanup that the pmap code can. 650 */ 651 pmap_collect(); | 69 */ 70 71/* 72 * The proverbial page-out daemon. 73 */ 74 75#include "opt_vm.h" 76#include <sys/param.h> --- 567 unchanged lines hidden (view full) --- 644 int maxlaunder; 645 int s; 646 647 GIANT_REQUIRED; 648 /* 649 * Do whatever cleanup that the pmap code can. 650 */ 651 pmap_collect(); |
652 uma_reclaim(); |
|
652 653 addl_page_shortage_init = vm_pageout_deficit; 654 vm_pageout_deficit = 0; 655 656 /* 657 * Calculate the number of pages we want to either free or move 658 * to the cache. 659 */ --- 846 unchanged lines hidden --- | 653 654 addl_page_shortage_init = vm_pageout_deficit; 655 vm_pageout_deficit = 0; 656 657 /* 658 * Calculate the number of pages we want to either free or move 659 * to the cache. 660 */ --- 846 unchanged lines hidden --- |