Changeset View
Changeset View
Standalone View
Standalone View
head/sys/vm/uma_int.h
Show First 20 Lines • Show All 383 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* These flags must not overlap with the UMA_ZONE flags specified in uma.h. | * These flags must not overlap with the UMA_ZONE flags specified in uma.h. | ||||
*/ | */ | ||||
#define UMA_ZFLAG_CACHE 0x04000000 /* uma_zcache_create()d it */ | #define UMA_ZFLAG_CACHE 0x04000000 /* uma_zcache_create()d it */ | ||||
#define UMA_ZFLAG_RECLAIMING 0x08000000 /* Running zone_reclaim(). */ | #define UMA_ZFLAG_RECLAIMING 0x08000000 /* Running zone_reclaim(). */ | ||||
#define UMA_ZFLAG_BUCKET 0x10000000 /* Bucket zone. */ | #define UMA_ZFLAG_BUCKET 0x10000000 /* Bucket zone. */ | ||||
#define UMA_ZFLAG_INTERNAL 0x20000000 /* No offpage no PCPU. */ | #define UMA_ZFLAG_INTERNAL 0x20000000 /* No offpage no PCPU. */ | ||||
#define UMA_ZFLAG_TRASH 0x40000000 /* Add trash ctor/dtor. */ | |||||
#define UMA_ZFLAG_CACHEONLY 0x80000000 /* Don't ask VM for buckets. */ | #define UMA_ZFLAG_CACHEONLY 0x80000000 /* Don't ask VM for buckets. */ | ||||
#define UMA_ZFLAG_INHERIT \ | #define UMA_ZFLAG_INHERIT \ | ||||
(UMA_ZFLAG_INTERNAL | UMA_ZFLAG_CACHEONLY | UMA_ZFLAG_BUCKET) | (UMA_ZFLAG_INTERNAL | UMA_ZFLAG_CACHEONLY | UMA_ZFLAG_BUCKET) | ||||
#undef UMA_ALIGN | #undef UMA_ALIGN | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |