vm_pager.c (756a5412798b7de1709bb1de2db5ba2a5908cba3) vm_pager.c (46b0292a826b6042291e3191c7150d197162ef85)
1/*-
2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU)
3 *
4 * Copyright (c) 1991, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * The Mach Operating System project at Carnegie-Mellon University.

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

158 &vnodepagerops, /* OBJT_VNODE */
159 &devicepagerops, /* OBJT_DEVICE */
160 &physpagerops, /* OBJT_PHYS */
161 &deadpagerops, /* OBJT_DEAD */
162 &sgpagerops, /* OBJT_SG */
163 &mgtdevicepagerops, /* OBJT_MGTDEVICE */
164};
165
1/*-
2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU)
3 *
4 * Copyright (c) 1991, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * The Mach Operating System project at Carnegie-Mellon University.

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

158 &vnodepagerops, /* OBJT_VNODE */
159 &devicepagerops, /* OBJT_DEVICE */
160 &physpagerops, /* OBJT_PHYS */
161 &deadpagerops, /* OBJT_DEAD */
162 &sgpagerops, /* OBJT_SG */
163 &mgtdevicepagerops, /* OBJT_MGTDEVICE */
164};
165
166/*
167 * Kernel address space for mapping pages.
168 * Used by pagers where KVAs are needed for IO.
169 *
170 * XXX needs to be large enough to support the number of pending async
171 * cleaning requests (NPENDINGIO == 64) * the maximum swap cluster size
172 * (MAXPHYS == 64k) if you want to get the most efficiency.
173 */
174vm_offset_t swapbkva; /* swap buffers kva */
175
176void
177vm_pager_init(void)
178{
179 struct pagerops **pgops;
180
181 /*
182 * Initialize known pagers
183 */

--- 313 unchanged lines hidden ---
166void
167vm_pager_init(void)
168{
169 struct pagerops **pgops;
170
171 /*
172 * Initialize known pagers
173 */

--- 313 unchanged lines hidden ---