Changeset View
Changeset View
Standalone View
Standalone View
head/sys/vm/vm_page.h
Show First 20 Lines • Show All 372 Lines • ▼ Show 20 Lines | |||||
#define PGA_REQUEUE_HEAD 0x40 /* page requeue should bypass LRU */ | #define PGA_REQUEUE_HEAD 0x40 /* page requeue should bypass LRU */ | ||||
#define PGA_QUEUE_STATE_MASK (PGA_ENQUEUED | PGA_DEQUEUE | PGA_REQUEUE | \ | #define PGA_QUEUE_STATE_MASK (PGA_ENQUEUED | PGA_DEQUEUE | PGA_REQUEUE | \ | ||||
PGA_REQUEUE_HEAD) | PGA_REQUEUE_HEAD) | ||||
/* | /* | ||||
* Page flags. If changed at any other time than page allocation or | * Page flags. If changed at any other time than page allocation or | ||||
* freeing, the modification must be protected by the vm_page lock. | * freeing, the modification must be protected by the vm_page lock. | ||||
* | |||||
* The PG_PCPU_CACHE flag is set at allocation time if the page was | |||||
* allocated from a per-CPU cache. It is cleared the next time that the | |||||
* page is allocated from the physical memory allocator. | |||||
*/ | */ | ||||
#define PG_PCPU_CACHE 0x0001 /* was allocated from per-CPU caches */ | #define PG_PCPU_CACHE 0x0001 /* was allocated from per-CPU caches */ | ||||
#define PG_FICTITIOUS 0x0004 /* physical page doesn't exist */ | #define PG_FICTITIOUS 0x0004 /* physical page doesn't exist */ | ||||
#define PG_ZERO 0x0008 /* page is zeroed */ | #define PG_ZERO 0x0008 /* page is zeroed */ | ||||
#define PG_MARKER 0x0010 /* special queue marker page */ | #define PG_MARKER 0x0010 /* special queue marker page */ | ||||
#define PG_NODUMP 0x0080 /* don't include this page in a dump */ | #define PG_NODUMP 0x0080 /* don't include this page in a dump */ | ||||
#define PG_UNHOLDFREE 0x0100 /* delayed free of a held page */ | #define PG_UNHOLDFREE 0x0100 /* delayed free of a held page */ | ||||
▲ Show 20 Lines • Show All 446 Lines • Show Last 20 Lines |