diff options
Diffstat (limited to 'usr/src/man/man3malloc/umem_alloc.3malloc')
| -rw-r--r-- | usr/src/man/man3malloc/umem_alloc.3malloc | 25 | 
1 files changed, 25 insertions, 0 deletions
| diff --git a/usr/src/man/man3malloc/umem_alloc.3malloc b/usr/src/man/man3malloc/umem_alloc.3malloc index eb6b270398..d8680ca083 100644 --- a/usr/src/man/man3malloc/umem_alloc.3malloc +++ b/usr/src/man/man3malloc/umem_alloc.3malloc @@ -188,6 +188,31 @@ the thread exits. The efficacy of the per-thread cache can be determined with  the \fB::umastat\fR \fBmdb\fR(1) \fIdcmd\fR debugger command.  .RE +.ne 2 +.na +\fB\fBallocator\fR=\fBbest\fR\fR +.ad +.br +.na +\fB\fBallocator\fR=\fBfirst\fR\fR +.ad +.br +.na +\fB\fBallocator\fR=\fBinstant\fR\fR +.ad +.br +.na +\fB\fBallocator\fR=\fBnext\fR\fR +.ad +.RS 16n +Set the underlying allocation strategy. The \fBbest\fR fit strategy tells +libumem to use the smallest free segment possible. The \fBinstant\fR fit +strategy approximates the best fit strategy in constant cpu time. The +\fBfirst\fR fit strategy takes the first free segment that can honor the +allocation. The \fBnext\fR fit strategy uses the next free segment after the +previously allocated one. +.RE +  .RE  .SH EXAMPLES | 
