Tuesday, January 4, 2011

SLAB/SLUB/SLOB

Linux Memory Management
  • Buddy System
    • Allocate 4KB (PAGE_SIZE)
      Page based memory
  • Slab Allocator
    • Allocate smaller than 4KB
      Object based memory
     

SLAB Allocaror

SLUB Allocaror

SLOB Allocaror

Reference:

  • Linux Kernel Heap Tampering Detection
  • No comments: