Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_pagequeue.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
#define _VM_PAGEQUEUE_ | #define _VM_PAGEQUEUE_ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct vm_pagequeue { | struct vm_pagequeue { | ||||
struct mtx pq_mutex; | struct mtx pq_mutex; | ||||
struct pglist pq_pl; | struct pglist pq_pl; | ||||
int pq_cnt; | int pq_cnt; | ||||
const char * const pq_name; | const char * const pq_name; | ||||
uint64_t pq_pdpages; | uint64_t pq_pdpages; | ||||
uint64_t pq_pdxbusy; | |||||
uint64_t pq_pddeferred; | |||||
uint64_t pq_pdwired; | |||||
uint64_t pq_pdreactivated; | |||||
uint64_t pq_pdrequeued; | |||||
} __aligned(CACHE_LINE_SIZE); | } __aligned(CACHE_LINE_SIZE); | ||||
#ifndef VM_BATCHQUEUE_SIZE | #ifndef VM_BATCHQUEUE_SIZE | ||||
#define VM_BATCHQUEUE_SIZE 7 | #define VM_BATCHQUEUE_SIZE 7 | ||||
#endif | #endif | ||||
struct vm_batchqueue { | struct vm_batchqueue { | ||||
vm_page_t bq_pa[VM_BATCHQUEUE_SIZE]; | vm_page_t bq_pa[VM_BATCHQUEUE_SIZE]; | ||||
▲ Show 20 Lines • Show All 377 Lines • Show Last 20 Lines |