SLUB (software)
{{Short description|A Linux kernel memory management mechanism}}
{{primary sources|date=October 2016}}
SLUB (the unqueued slab allocator{{cite web |url=https://lwn.net/Articles/229096/ |title=SLUB: The unqueued slab allocator V6 |author=Christoph Lameter |publisher=LWN.net |date=31 Mar 2007 |accessdate=2014-08-02 }}) is a memory management mechanism intended for the efficient memory allocation of kernel objects which displays the desirable property of eliminating fragmentation caused by allocations and deallocations. The technique is used to retain allocated memory that contains a data object of a certain type for reuse upon subsequent allocations of objects of the same type. It is used in Linux and became the default allocator since 2.6.23.[https://archive.today/20130415043346/http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a0acd820807680d2ccc4ef3448387fcdbf152c73 Kernel commit that made SLUB the default allocator in 2.6.23]
See also
- Slab allocation (SLAB)
- SLOB
Notes
{{reflist}}
External links
- [https://lwn.net/Articles/229984/ The SLUB allocator]
- [https://lwn.net/Articles/229096/ SLUB: The unqueued slab allocator V6]
{{Linux kernel}}
Category:Memory management algorithms
{{Linux-stub}}