Deleted Added
full compact
vm_fault.c (35669) vm_fault.c (37563)
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.82 1998/03/07 20:45:47 dyson Exp $
69 * $Id: vm_fault.c,v 1.83 1998/05/04 03:01:43 dyson Exp $
70 */
71
72/*
73 * Page fault handling module.
74 */
75
76#include <sys/param.h>
77#include <sys/systm.h>

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

226 if ((fs.entry->protection & VM_PROT_WRITE) == 0)
227 fs.entry->max_protection &= ~VM_PROT_WRITE;
228 }
229
230 map_generation = fs.map->timestamp;
231
232 if (fs.entry->eflags & MAP_ENTRY_NOFAULT) {
233 panic("vm_fault: fault on nofault entry, addr: %lx",
70 */
71
72/*
73 * Page fault handling module.
74 */
75
76#include <sys/param.h>
77#include <sys/systm.h>

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

226 if ((fs.entry->protection & VM_PROT_WRITE) == 0)
227 fs.entry->max_protection &= ~VM_PROT_WRITE;
228 }
229
230 map_generation = fs.map->timestamp;
231
232 if (fs.entry->eflags & MAP_ENTRY_NOFAULT) {
233 panic("vm_fault: fault on nofault entry, addr: %lx",
234 vaddr);
234 (u_long)vaddr);
235 }
236
237 /*
238 * Make a reference to this object to prevent its disposal while we
239 * are messing with it. Once we have the reference, the map is free
240 * to be diddled. Since objects reference their shadows (and copies),
241 * they will stay around as well.
242 */

--- 884 unchanged lines hidden ---
235 }
236
237 /*
238 * Make a reference to this object to prevent its disposal while we
239 * are messing with it. Once we have the reference, the map is free
240 * to be diddled. Since objects reference their shadows (and copies),
241 * they will stay around as well.
242 */

--- 884 unchanged lines hidden ---