vm_fault.c (867a482d661c25849e1fa5e3d992efbca7b4add2) vm_fault.c (0ed43762315e431537e108d4bdc0476f7fffcec3)
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. 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 *

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

61 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
62 * School of Computer Science
63 * Carnegie Mellon University
64 * Pittsburgh PA 15213-3890
65 *
66 * any improvements or extensions that they make and grant Carnegie the
67 * rights to redistribute these changes.
68 *
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. 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 *

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

61 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
62 * School of Computer Science
63 * Carnegie Mellon University
64 * Pittsburgh PA 15213-3890
65 *
66 * any improvements or extensions that they make and grant Carnegie the
67 * rights to redistribute these changes.
68 *
69 * $Id: vm_fault.c,v 1.44 1996/05/18 03:37:35 dyson Exp $
69 * $Id: vm_fault.c,v 1.45 1996/05/19 07:36:45 dyson Exp $
70 */
71
72/*
73 * Page fault handling module.
74 */
75
76#include <sys/param.h>
77#include <sys/systm.h>

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

287 if ((m->queue == PQ_CACHE) &&
288 (cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_reserved) {
289 UNLOCK_AND_DEALLOCATE;
290 VM_WAIT;
291 PAGE_WAKEUP(m);
292 goto RetryFault;
293 }
294
70 */
71
72/*
73 * Page fault handling module.
74 */
75
76#include <sys/param.h>
77#include <sys/systm.h>

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

287 if ((m->queue == PQ_CACHE) &&
288 (cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_reserved) {
289 UNLOCK_AND_DEALLOCATE;
290 VM_WAIT;
291 PAGE_WAKEUP(m);
292 goto RetryFault;
293 }
294
295 vm_page_unqueue(m);
296
295 if (m->valid &&
296 ((m->valid & VM_PAGE_BITS_ALL) != VM_PAGE_BITS_ALL) &&
297 m->object != kernel_object && m->object != kmem_object) {
298 goto readrest;
299 }
300 break;
301 }
302 if (((object->type != OBJT_DEFAULT) && (!change_wiring || wired))

--- 819 unchanged lines hidden ---
297 if (m->valid &&
298 ((m->valid & VM_PAGE_BITS_ALL) != VM_PAGE_BITS_ALL) &&
299 m->object != kernel_object && m->object != kmem_object) {
300 goto readrest;
301 }
302 break;
303 }
304 if (((object->type != OBJT_DEFAULT) && (!change_wiring || wired))

--- 819 unchanged lines hidden ---