Use existing tag name for the vm_object' memq.
Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
fc3562db96
commit
b9e8fb647e
@ -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 */
|
||||
|
@ -210,7 +210,10 @@ struct vm_page {
|
||||
#define PQ_UNSWAPPABLE 3
|
||||
#define PQ_COUNT 4
|
||||
|
||||
#ifndef VM_PAGE_HAVE_PGLIST
|
||||
TAILQ_HEAD(pglist, vm_page);
|
||||
#define VM_PAGE_HAVE_PGLIST
|
||||
#endif
|
||||
SLIST_HEAD(spglist, vm_page);
|
||||
|
||||
struct vm_pagequeue {
|
||||
|
Loading…
x
Reference in New Issue
Block a user