Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/zone.9
Show First 20 Lines • Show All 257 Lines • ▼ Show 20 Lines | |||||
and | and | ||||
.Fn uma_zfree_arg | .Fn uma_zfree_arg | ||||
allow callers to | allow callers to | ||||
specify an argument for the | specify an argument for the | ||||
.Dv ctor | .Dv ctor | ||||
and | and | ||||
.Dv dtor | .Dv dtor | ||||
functions, respectively. | functions, respectively. | ||||
The | The | ||||
.Fn uma_zalloc_domain | .Fn uma_zalloc_domain | ||||
function allows callers to specify a fixed | function allows callers to specify a fixed | ||||
.Xr numa 9 domain to allocate from. This uses a guaranteed but slow path in | .Xr numa 9 domain to allocate from. This uses a guaranteed but slow path in | ||||
the allocator which reduces concurrency. The | the allocator which reduces concurrency. The | ||||
.Fn uma_zfree_domain | .Fn uma_zfree_domain | ||||
function should be used to return memory allocated in this fashion. This | function should be used to return memory allocated in this fashion. This | ||||
function infers the domain from the pointer and does not require it as an | function infers the domain from the pointer and does not require it as an | ||||
argument. | argument. | ||||
.Pp | .Pp | ||||
Created zones, | Created zones, | ||||
which are empty, | which are empty, | ||||
can be destroyed using | can be destroyed using | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |