vm_pager.c (9507) | vm_pager.c (9759) |
---|---|
1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * | 1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * |
64 * $Id: vm_pager.c,v 1.15 1995/05/10 18:56:07 davidg Exp $ | 64 * $Id: vm_pager.c,v 1.16 1995/07/13 08:48:42 davidg Exp $ |
65 */ 66 67/* 68 * Paging space routine stubs. Emulates a matchmaker-like interface 69 * for builtin pagers. 70 */ 71 72#include <sys/param.h> --- 29 unchanged lines hidden (view full) --- 102 * cleaning requests (NPENDINGIO == 64) * the maximum swap cluster size 103 * (MAXPHYS == 64k) if you want to get the most efficiency. 104 */ 105#define PAGER_MAP_SIZE (8 * 1024 * 1024) 106 107int pager_map_size = PAGER_MAP_SIZE; 108vm_map_t pager_map; 109boolean_t pager_map_wanted; | 65 */ 66 67/* 68 * Paging space routine stubs. Emulates a matchmaker-like interface 69 * for builtin pagers. 70 */ 71 72#include <sys/param.h> --- 29 unchanged lines hidden (view full) --- 102 * cleaning requests (NPENDINGIO == 64) * the maximum swap cluster size 103 * (MAXPHYS == 64k) if you want to get the most efficiency. 104 */ 105#define PAGER_MAP_SIZE (8 * 1024 * 1024) 106 107int pager_map_size = PAGER_MAP_SIZE; 108vm_map_t pager_map; 109boolean_t pager_map_wanted; |
110vm_offset_t pager_sva, pager_eva; | |
111int bswneeded; 112vm_offset_t swapbkva; /* swap buffers kva */ 113 114void 115vm_pager_init() 116{ 117 struct pagerops **pgops; 118 --- 256 unchanged lines hidden --- | 110int bswneeded; 111vm_offset_t swapbkva; /* swap buffers kva */ 112 113void 114vm_pager_init() 115{ 116 struct pagerops **pgops; 117 --- 256 unchanged lines hidden --- |