An open API service indexing awesome lists of open source software.

https://github.com/valentindebon/slab_alloc

Simplified slab allocator for UNIX-like systems. Cf. "The Slab Allocator: An Object-Caching Kernel Memory Allocator" By Jeff Bonwick
https://github.com/valentindebon/slab_alloc

Last synced: 5 months ago
JSON representation

Simplified slab allocator for UNIX-like systems. Cf. "The Slab Allocator: An Object-Caching Kernel Memory Allocator" By Jeff Bonwick

Awesome Lists containing this project

README

        

# Simplified Slab allocator

ANSI-C simplified slab allocator. Concepts taken from "The Slab Allocator: An Object-Caching Kernel Memory Allocator" By Jeff Bonwick.
Simplified because it doesn't support:
- Big allocations (bigger than pagesize / 8).
- Initialization and Deinitialization as described in the original paper.

## Build

clang -ansi -pedantic -Wall -c slab_alloc.c

## Test

clang -Wall -o test slab_alloc.c test.c