vm_page.h (207702) | vm_page.h (207706) |
---|---|
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_page.h 207702 2010-05-06 16:39:43Z alc $ | 60 * $FreeBSD: head/sys/vm/vm_page.h 207706 2010-05-06 17:28:59Z alc $ |
61 */ 62 63/* 64 * Resident memory system definitions. 65 */ 66 67#ifndef _VM_PAGE_ 68#define _VM_PAGE_ --- 39 unchanged lines hidden (view full) --- 108 vm_paddr_t phys_addr; /* physical address of page */ 109 struct md_page md; /* machine dependant stuff */ 110 uint8_t queue; /* page queue index (P,Q) */ 111 int8_t segind; 112 u_short flags; /* see below */ 113 uint8_t order; /* index of the buddy queue */ 114 uint8_t pool; 115 u_short cow; /* page cow mapping count (Q) */ | 61 */ 62 63/* 64 * Resident memory system definitions. 65 */ 66 67#ifndef _VM_PAGE_ 68#define _VM_PAGE_ --- 39 unchanged lines hidden (view full) --- 108 vm_paddr_t phys_addr; /* physical address of page */ 109 struct md_page md; /* machine dependant stuff */ 110 uint8_t queue; /* page queue index (P,Q) */ 111 int8_t segind; 112 u_short flags; /* see below */ 113 uint8_t order; /* index of the buddy queue */ 114 uint8_t pool; 115 u_short cow; /* page cow mapping count (Q) */ |
116 u_int wire_count; /* wired down maps refs (Q) */ | 116 u_int wire_count; /* wired down maps refs (P) */ |
117 short hold_count; /* page hold count (P) */ 118 u_short oflags; /* page flags (O) */ 119 u_char act_count; /* page usage count (Q) */ 120 u_char busy; /* page busy count (O) */ 121 /* NOTE that these must support one bit per DEV_BSIZE in a page!!! */ 122 /* so, on normal X86 kernels, they must be at least 8 bits wide */ 123#if PAGE_SIZE == 4096 124 u_char valid; /* map of valid DEV_BSIZE chunks (O) */ --- 286 unchanged lines hidden --- | 117 short hold_count; /* page hold count (P) */ 118 u_short oflags; /* page flags (O) */ 119 u_char act_count; /* page usage count (Q) */ 120 u_char busy; /* page busy count (O) */ 121 /* NOTE that these must support one bit per DEV_BSIZE in a page!!! */ 122 /* so, on normal X86 kernels, they must be at least 8 bits wide */ 123#if PAGE_SIZE == 4096 124 u_char valid; /* map of valid DEV_BSIZE chunks (O) */ --- 286 unchanged lines hidden --- |