aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2017-09-13 19:03:59 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2017-09-13 19:03:59 +0000
commitb9e8fb647edf79393b73ce9d4b0c8470f51553b2 (patch)
treebdfa0c48cce60b605eb0d8221bf0dccab02b41a3 /sys/vm/vm_object.h
parentfc3562db9696f4c757b5f55170b1e1fa94476ca2 (diff)
downloadsrc-b9e8fb647edf79393b73ce9d4b0c8470f51553b2.tar.gz
src-b9e8fb647edf79393b73ce9d4b0c8470f51553b2.zip
Use existing tag name for the vm_object' memq.
Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week
Notes
Notes: svn path=/head/; revision=323558
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 315a82e395a5..385437ccf8ce 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -87,12 +87,17 @@
*
*/
+#ifndef VM_PAGE_HAVE_PGLIST
+TAILQ_HEAD(pglist, vm_page);
+#define VM_PAGE_HAVE_PGLIST
+#endif
+
struct vm_object {
struct rwlock lock;
TAILQ_ENTRY(vm_object) object_list; /* list of all objects */
LIST_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */
LIST_ENTRY(vm_object) shadow_list; /* chain of shadow objects */
- TAILQ_HEAD(respgs, vm_page) memq; /* list of resident pages */
+ struct pglist memq; /* list of resident pages */
struct vm_radix rtree; /* root of the resident page radix trie*/
vm_pindex_t size; /* Object size */
int generation; /* generation ID */