Project

General

Profile

Feature #2058

libumem should allow you to specify an allocator

Added by Robert Mustacchi almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
lib - userland libraries
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).

#1

Updated by Josef Sipek over 8 years ago

Any news on this?

#2

Updated by Robert Mustacchi over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

Resolved in 13708:6d0517b1a52b.

Also available in: Atom PDF