vm_object.h (253189) | vm_object.h (254141) |
---|---|
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 --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * | 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 --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * |
60 * $FreeBSD: head/sys/vm/vm_object.h 253189 2013-07-11 05:47:26Z kib $ | 60 * $FreeBSD: head/sys/vm/vm_object.h 254141 2013-08-09 11:28:55Z attilio $ |
61 */ 62 63/* 64 * Virtual memory object module definitions. 65 */ 66 67#ifndef _VM_OBJECT_ 68#define _VM_OBJECT_ --- 28 unchanged lines hidden (view full) --- 97 * 98 */ 99 100struct vm_object { 101 struct rwlock lock; 102 TAILQ_ENTRY(vm_object) object_list; /* list of all objects */ 103 LIST_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */ 104 LIST_ENTRY(vm_object) shadow_list; /* chain of shadow objects */ | 61 */ 62 63/* 64 * Virtual memory object module definitions. 65 */ 66 67#ifndef _VM_OBJECT_ 68#define _VM_OBJECT_ --- 28 unchanged lines hidden (view full) --- 97 * 98 */ 99 100struct vm_object { 101 struct rwlock lock; 102 TAILQ_ENTRY(vm_object) object_list; /* list of all objects */ 103 LIST_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */ 104 LIST_ENTRY(vm_object) shadow_list; /* chain of shadow objects */ |
105 TAILQ_HEAD(, vm_page) memq; /* list of resident pages */ | 105 TAILQ_HEAD(respgs, vm_page) memq; /* list of resident pages */ |
106 struct vm_radix rtree; /* root of the resident page radix trie*/ 107 vm_pindex_t size; /* Object size */ 108 int generation; /* generation ID */ 109 int ref_count; /* How many refs?? */ 110 int shadow_count; /* how many objects that this is a shadow for */ 111 vm_memattr_t memattr; /* default memory attribute for pages */ 112 objtype_t type; /* type of pager */ 113 u_short flags; /* see below */ --- 182 unchanged lines hidden --- | 106 struct vm_radix rtree; /* root of the resident page radix trie*/ 107 vm_pindex_t size; /* Object size */ 108 int generation; /* generation ID */ 109 int ref_count; /* How many refs?? */ 110 int shadow_count; /* how many objects that this is a shadow for */ 111 vm_memattr_t memattr; /* default memory attribute for pages */ 112 objtype_t type; /* type of pager */ 113 u_short flags; /* see below */ --- 182 unchanged lines hidden --- |