vm_pager.c (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | vm_pager.c (b7ac5a85714c218faaf9e0803f0ba03015647cc1) |
---|---|
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 --- 145 unchanged lines hidden (view full) --- 154 155struct pagerops *pagertab[] = { 156 &defaultpagerops, /* OBJT_DEFAULT */ 157 &swappagerops, /* OBJT_SWAP */ 158 &vnodepagerops, /* OBJT_VNODE */ 159 &devicepagerops, /* OBJT_DEVICE */ 160 &physpagerops, /* OBJT_PHYS */ 161 &deadpagerops, /* OBJT_DEAD */ | 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 --- 145 unchanged lines hidden (view full) --- 154 155struct pagerops *pagertab[] = { 156 &defaultpagerops, /* OBJT_DEFAULT */ 157 &swappagerops, /* OBJT_SWAP */ 158 &vnodepagerops, /* OBJT_VNODE */ 159 &devicepagerops, /* OBJT_DEVICE */ 160 &physpagerops, /* OBJT_PHYS */ 161 &deadpagerops, /* OBJT_DEAD */ |
162 &sgpagerops /* OBJT_SG */ | 162 &sgpagerops, /* OBJT_SG */ 163 &mgtdevicepagerops, /* OBJT_MGTDEVICE */ |
163}; 164 165static const int npagers = sizeof(pagertab) / sizeof(pagertab[0]); 166 167/* 168 * Kernel address space for mapping pages. 169 * Used by pagers where KVAs are needed for IO. 170 * --- 337 unchanged lines hidden --- | 164}; 165 166static const int npagers = sizeof(pagertab) / sizeof(pagertab[0]); 167 168/* 169 * Kernel address space for mapping pages. 170 * Used by pagers where KVAs are needed for IO. 171 * --- 337 unchanged lines hidden --- |