https://github.com/rohanvdvivedi/slabby
A slab memory allocator in C.
https://github.com/rohanvdvivedi/slabby
memory-allocator slab-allocator slab-memory-allocation
Last synced: 5 months ago
JSON representation
A slab memory allocator in C.
- Host: GitHub
- URL: https://github.com/rohanvdvivedi/slabby
- Owner: RohanVDvivedi
- Created: 2020-06-02T07:59:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-12-27T18:57:08.000Z (7 months ago)
- Last Synced: 2025-12-29T16:54:06.846Z (7 months ago)
- Topics: memory-allocator, slab-allocator, slab-memory-allocation
- Language: C
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slabby
Slabby is a fixed sized cache memory allocator.
Based on the Slab memory allocation, designed by Bonvick.
references : His paper [here](https://pdfs.semanticscholar.org/1acc/3a14da69dd240f2fbc11d00e09610263bdbd.pdf?_ga=2.249523655.1104392717.1591767251-111770065.1590953620) and Wikipedia [Article](https://en.wikipedia.org/wiki/Slab_allocation)
## Setup instructions
**Install dependencies :**
* [Cutlery](https://github.com/RohanVDvivedi/Cutlery)
**Download source code :**
* `git clone https://github.com/RohanVDvivedi/Slabby.git`
**Build from source :**
* `cd Slabby`
* `make clean all`
**Install from the build :**
* `sudo make install`
* ***Once you have installed from source, you may discard the build by*** `make clean`
## Using The library
* add `-lslabby -lpthread -lcutlery` linker flag, while compiling your application
* do not forget to include appropriate public api headers as and when needed. this includes
* `#include`
## Instructions for uninstalling library
**Uninstall :**
* `cd Slabby`
* `sudo make uninstall`