Menu

Commit [r538]  Maximize  Restore  History

Added a slab allocator

A slab-allocator can now be used as the back-end for all memory allocations by setting __slab_max_size to a value > 0. This controls the slab size used for allocations and should be a power of 2, such as 2048 or 4096 bytes.

This change still needs testing.

obarthel 2016-11-17

changed /trunk/library/GNUmakefile.68k
changed /trunk/library/libc.gmk
changed /trunk/library/smakefile
changed /trunk/library/stdlib_free.c
changed /trunk/library/stdlib_malloc.c
changed /trunk/library/stdlib_memory.h
/trunk/library/GNUmakefile.68k Diff Switch to side-by-side view
Loading...
/trunk/library/libc.gmk Diff Switch to side-by-side view
Loading...
/trunk/library/smakefile Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_free.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_malloc.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_memory.h Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.