vm_object.c (14316) | vm_object.c (14531) |
---|---|
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 --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * | 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 --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * |
64 * $Id: vm_object.c,v 1.63 1996/01/19 04:00:02 dyson Exp $ | 64 * $Id: vm_object.c,v 1.64 1996/03/02 02:54:22 dyson Exp $ |
65 */ 66 67/* 68 * Virtual memory object module. 69 */ 70#include "opt_ddb.h" 71 72#include <sys/param.h> --- 1266 unchanged lines hidden (view full) --- 1339 return 0; 1340} 1341 1342static int 1343vm_object_in_map( object) 1344 vm_object_t object; 1345{ 1346 struct proc *p; | 65 */ 66 67/* 68 * Virtual memory object module. 69 */ 70#include "opt_ddb.h" 71 72#include <sys/param.h> --- 1266 unchanged lines hidden (view full) --- 1339 return 0; 1340} 1341 1342static int 1343vm_object_in_map( object) 1344 vm_object_t object; 1345{ 1346 struct proc *p; |
1347 for (p = (struct proc *) allproc; p != NULL; p = p->p_next) { | 1347 for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) { |
1348 if( !p->p_vmspace /* || (p->p_flag & (P_SYSTEM|P_WEXIT)) */) 1349 continue; 1350/* 1351 if (p->p_stat != SRUN && p->p_stat != SSLEEP) { 1352 continue; 1353 } 1354*/ 1355 if( _vm_object_in_map(&p->p_vmspace->vm_map, object, 0)) --- 103 unchanged lines hidden --- | 1348 if( !p->p_vmspace /* || (p->p_flag & (P_SYSTEM|P_WEXIT)) */) 1349 continue; 1350/* 1351 if (p->p_stat != SRUN && p->p_stat != SSLEEP) { 1352 continue; 1353 } 1354*/ 1355 if( _vm_object_in_map(&p->p_vmspace->vm_map, object, 0)) --- 103 unchanged lines hidden --- |