vm_pager.c (60727d8b86294910d41cbda1a50a855ea0537449) | vm_pager.c (253de0a143833dae8cf0ac129135b6d5df162429) |
---|---|
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 --- 152 unchanged lines hidden (view full) --- 161 &defaultpagerops, /* OBJT_DEFAULT */ 162 &swappagerops, /* OBJT_SWAP */ 163 &vnodepagerops, /* OBJT_VNODE */ 164 &devicepagerops, /* OBJT_DEVICE */ 165 &physpagerops, /* OBJT_PHYS */ 166 &deadpagerops /* OBJT_DEAD */ 167}; 168 | 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 --- 152 unchanged lines hidden (view full) --- 161 &defaultpagerops, /* OBJT_DEFAULT */ 162 &swappagerops, /* OBJT_SWAP */ 163 &vnodepagerops, /* OBJT_VNODE */ 164 &devicepagerops, /* OBJT_DEVICE */ 165 &physpagerops, /* OBJT_PHYS */ 166 &deadpagerops /* OBJT_DEAD */ 167}; 168 |
169int npagers = sizeof(pagertab) / sizeof(pagertab[0]); | 169static const int npagers = sizeof(pagertab) / sizeof(pagertab[0]); |
170 171/* 172 * Kernel address space for mapping pages. 173 * Used by pagers where KVAs are needed for IO. 174 * 175 * XXX needs to be large enough to support the number of pending async 176 * cleaning requests (NPENDINGIO == 64) * the maximum swap cluster size 177 * (MAXPHYS == 64k) if you want to get the most efficiency. --- 332 unchanged lines hidden --- | 170 171/* 172 * Kernel address space for mapping pages. 173 * Used by pagers where KVAs are needed for IO. 174 * 175 * XXX needs to be large enough to support the number of pending async 176 * cleaning requests (NPENDINGIO == 64) * the maximum swap cluster size 177 * (MAXPHYS == 64k) if you want to get the most efficiency. --- 332 unchanged lines hidden --- |