Add a really simple allocator, backed with mmap'ed memory
authorJens Axboe <jens.axboe@oracle.com>
Sat, 1 Mar 2008 17:27:36 +0000 (18:27 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 1 Mar 2008 17:27:36 +0000 (18:27 +0100)
commitd24c33a479fcd68debad128da057814495f65e20
tree225be7bc76a26273a428c0d79240e4e751017812
parentb0fe421a6a0487ff71f6f903908f666d9ca1b327
Add a really simple allocator, backed with mmap'ed memory

We can use this simple allocator to get memory that can be safely
shared across processes or threads.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Makefile
smalloc.c [new file with mode: 0644]
smalloc.h [new file with mode: 0644]