Fix function name in zone.9
uma_zone_prealloc -> uma_prealloc. There's no uma_zone_prealloc defined and the docs for it describe uma_prealloc exactly.
This commit is contained in:
parent
22517af2c1
commit
a418d47b79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364424
@ -25,7 +25,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd August 3, 2020
|
||||
.Dd August 20, 2020
|
||||
.Dt UMA 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -394,7 +394,7 @@ This uses a guaranteed but slow path in the allocator which reduces
|
||||
concurrency.
|
||||
.Pp
|
||||
The
|
||||
.Fn uma_zone_prealloc
|
||||
.Fn uma_prealloc
|
||||
function allocates slabs for the requested number of items, typically following
|
||||
the initial creation of a zone.
|
||||
Subsequent allocations from the zone will be satisfied using the pre-allocated
|
||||
@ -402,7 +402,7 @@ slabs.
|
||||
Note that slab allocation is performed with the
|
||||
.Dv M_WAITOK
|
||||
flag, so
|
||||
.Fn uma_zone_prealloc
|
||||
.Fn uma_prealloc
|
||||
may sleep.
|
||||
.Pp
|
||||
The
|
||||
|
Loading…
Reference in New Issue
Block a user