8000 GitHub - DBJDBJ/slab_alloc: Simplified slab allocator for UNIX-like systems. Cf. "The Slab Allocator: An Object-Caching Kernel Memory Allocator" By Jeff Bonwick
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

License

Notifications You must be signed in to change notification settings

DBJDBJ/slab_alloc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%
0