Actions
Feature #2058
closedlibumem should allow you to specify an allocator
Start date:
2012-02-01
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
The default libumem allocator is the 'instant-fit' allocator. For various reasons, this can cause pathological memory growth of the heap, but without memory from it being in use. libumem, like vmem in the kernel supports three other memory allocators: best-fit, next-fit, and first-fit. There is currently no way to change this default otherwise.
To facilitate this, we add a new UMEM_OPTIONS, where you can specify allocator=(best|next|first|instant).
Updated by Robert Mustacchi about 10 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Tags deleted (
needs-triage)
Resolved in 13708:6d0517b1a52b.
Actions