Anatomy of the Linux Slab Allocator

“Good operating system performance depends in part on the operating system’s ability to efficiently manage resources. In the old days, heap memory managers were the norm, but performance suffered due to fragmentation and the need for memory reclamation. Today, the Linux kernel uses a method that originated in Solaris but has been used in embedded systems for quite some time, allocating memory as objects based on their size. This article explores the ideas behind the slab allocator and examines its interfaces and their use.”

6 Comments

  1. 2007-05-16 10:51 am
  2. 2007-05-16 12:18 pm
  3. 2007-05-16 4:16 pm
    • 2007-05-16 7:22 pm
  4. 2007-05-17 6:55 am