RohanVDvivedi / Slabby

A slab memory allocator in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slabby

Slabby is a fixed sized cache memory allocator. Based on the Slab memory allocation, designed by Bonvick.

references : His paper here and Wikipedia Article

Setup instructions

Install dependencies :

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<cache.h>

Instructions for uninstalling library

Uninstall :

  • cd Slabby
  • sudo make uninstall

About

A slab memory allocator in C.


Languages

Language:C 86.2%Language:Makefile 13.5%Language:Shell 0.2%