Menu

Commit [r540]  Maximize  Restore  History

- Added a slab allocator which replaces the use of memory pools or the

plain AllocMem() operations, respectively. In order to activate the
slab allocator, choose a slab size (e.g. 2048 bytes or 4096 bytes)
and declare a global variable like this:

ULONG __slab_max_size = 2048;

Memory allocations smaller than the slab size will be made from
"slabs", i.e. large chunks of memory of the given size. Larger
allocations will be managed separately.

obarthel 2016-11-18

changed /trunk/library/GNUmakefile.68k
changed /trunk/library/amiga.lib_rev.h
changed /trunk/library/amiga.lib_rev.rev
changed /trunk/library/c.lib_rev.h
changed /trunk/library/c.lib_rev.rev
changed /trunk/library/changes
changed /trunk/library/debug.lib_rev.h
changed /trunk/library/debug.lib_rev.rev
changed /trunk/library/libc.gmk
changed /trunk/library/m.lib_rev.h
changed /trunk/library/m.lib_rev.rev
changed /trunk/library/m881.lib_rev.h
changed /trunk/library/m881.lib_rev.rev
changed /trunk/library/net.lib_rev.h
changed /trunk/library/net.lib_rev.rev
changed /trunk/library/smakefile
changed /trunk/library/stdlib_free.c
changed /trunk/library/stdlib_malloc.c
changed /trunk/library/stdlib_memory.h
changed /trunk/library/unix.lib_rev.h
changed /trunk/library/unix.lib_rev.rev
/trunk/library/GNUmakefile.68k Diff Switch to side-by-side view
Loading...
/trunk/library/amiga.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/amiga.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/c.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/c.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/debug.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/debug.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/libc.gmk Diff Switch to side-by-side view
Loading...
/trunk/library/m.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/m.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/m881.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/m881.lib_rev.rev Diff Switch to side-by-side view
Loading...
/trunk/library/net.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/net.lib_rev.rev 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...
/trunk/library/unix.lib_rev.h Diff Switch to side-by-side view
Loading...
/trunk/library/unix.lib_rev.rev 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.