Advanced Operating Systems
Q93 / 100

What is the slab allocator in the Linux kernel?

Correct! Well done.

Incorrect.

The correct answer is B) A kernel memory allocator caching frequently used kernel objects (inodes, TCBs, dentry) to avoid repeated allocation/deallocation overhead

B

Correct Answer

A kernel memory allocator caching frequently used kernel objects (inodes, TCBs, dentry) to avoid repeated allocation/deallocation overhead

Explanation

The slab allocator (Bonwick, 1994) groups kernel objects by type into caches. Freed objects are kept warm in the cache for reuse, avoiding initialization overhead and reducing fragmentation.

Progress
93/100