[PATCH] posix: Reimplement POSIX Key manager to use a red-black tree.
Chris Johns
chrisj at rtems.org
Mon Jul 29 03:47:39 UTC 2013
Gedare Bloom wrote:
> I would put it back to the freechain unless there is a good way to check
> if the wkspace is almost all gone, which only is an issue for unlimited
> mode of some object.
Does this mean if I allocation a large number of keys then release them
that memory is gone forever ?
The object's extender manages the freeing of object memory back to the
workspace by waiting for half the allocation unit under the allocation
threshold. The complication is needing to know the objects are in the
same block of memory allocated. The code manages this and in reality
this is what happens.
Chris
More information about the devel
mailing list