Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/uma_int.h
Show First 20 Lines • Show All 297 Lines • ▼ Show 20 Lines | |||||
struct uma_klink { | struct uma_klink { | ||||
LIST_ENTRY(uma_klink) kl_link; | LIST_ENTRY(uma_klink) kl_link; | ||||
uma_keg_t kl_keg; | uma_keg_t kl_keg; | ||||
}; | }; | ||||
typedef struct uma_klink *uma_klink_t; | typedef struct uma_klink *uma_klink_t; | ||||
struct uma_zone_domain { | struct uma_zone_domain { | ||||
LIST_HEAD(,uma_bucket) uzd_buckets; /* full buckets */ | LIST_HEAD(,uma_bucket) uzd_buckets; /* full buckets */ | ||||
long uzd_nitems; /* total item count XXX nitems */ | |||||
long uzd_imax; /* maximum item count this period */ | |||||
long uzd_imin; /* minimum item count this period */ | |||||
long uzd_wss; /* working set size estimate */ | |||||
}; | }; | ||||
typedef struct uma_zone_domain * uma_zone_domain_t; | typedef struct uma_zone_domain * uma_zone_domain_t; | ||||
/* | /* | ||||
* Zone management structure | * Zone management structure | ||||
* | * | ||||
* TODO: Optimize for cache line size | * TODO: Optimize for cache line size | ||||
▲ Show 20 Lines • Show All 175 Lines • Show Last 20 Lines |