Looking at Kmalloc() and the Slub Memory Allocator (2019)
Posted3 months agoActive3 months ago
ruffell.nzTechstory
calmpositive
Debate
10/100
LinuxMemory ManagementSlub Allocator
Key topics
Linux
Memory Management
Slub Allocator
The article examines the SLUB memory allocator used in Linux, providing insights into its implementation and functionality, and sparking discussion on its design and performance.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
4d
Peak period
2
96-102h
Avg / period
2
Key moments
- 01Story posted
Oct 12, 2025 at 6:59 AM EDT
3 months ago
Step 01 - 02First comment
Oct 16, 2025 at 7:15 AM EDT
4d after posting
Step 02 - 03Peak activity
2 comments in 96-102h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 16, 2025 at 9:43 AM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45557217Type: storyLast synced: 11/20/2025, 3:41:08 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
> Being able to pre-allocate objects of fixed sizes and then offer up available objects to callers is much less work than allocating individual objects on demand.
At least, from reading his included code snippets I got the impression that what's actually happening is that it has multiple allocators to avoid fragmentation and that everything actually related to actually allocating does actually happen on demand.