Changeset View
Changeset View
Standalone View
Standalone View
head/sys/vm/vm_page.h
Show First 20 Lines • Show All 346 Lines • ▼ Show 20 Lines | |||||
#include <machine/atomic.h> | #include <machine/atomic.h> | ||||
/* | /* | ||||
* Each pageable resident page falls into one of four lists: | * Each pageable resident page falls into one of four lists: | ||||
* | * | ||||
* free | * free | ||||
* Available for allocation now. | * Available for allocation now. | ||||
* | * | ||||
* cache | |||||
* Almost available for allocation. Still associated with | |||||
* an object, but clean and immediately freeable. | |||||
* | |||||
* The following lists are LRU sorted: | |||||
* | |||||
* inactive | * inactive | ||||
* Low activity, candidates for reclamation. | * Low activity, candidates for reclamation. | ||||
* This list is approximately LRU ordered. | |||||
* | |||||
* laundry | |||||
* This is the list of pages that should be | * This is the list of pages that should be | ||||
* paged out next. | * paged out next. | ||||
* | * | ||||
* active | * active | ||||
* Pages that are "active" i.e. they have been | * Pages that are "active", i.e., they have been | ||||
* recently referenced. | * recently referenced. | ||||
* | * | ||||
*/ | */ | ||||
extern int vm_page_zero_count; | extern int vm_page_zero_count; | ||||
extern vm_page_t vm_page_array; /* First resident page in table */ | extern vm_page_t vm_page_array; /* First resident page in table */ | ||||
extern long vm_page_array_size; /* number of vm_page_t's */ | extern long vm_page_array_size; /* number of vm_page_t's */ | ||||
▲ Show 20 Lines • Show All 342 Lines • Show Last 20 Lines |