SLUB (Unqueued Allocator)
modulename: slub.ko
configname: CONFIG_SLUB
Choose SLAB allocator
└─>SLUB (Unqueued Allocator)
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
SLUB is a slab allocator that minimizes cache line usage
instead of managing queues of cached objects (SLAB approach).
Per cpu caching is realized using slabs of objects instead
of queues of objects. SLUB can use memory efficiently
and has enhanced diagnostics. SLUB is the default choice for
a slab allocator.
instead of managing queues of cached objects (SLAB approach).
Per cpu caching is realized using slabs of objects instead
of queues of objects. SLUB can use memory efficiently
and has enhanced diagnostics. SLUB is the default choice for
a slab allocator.
source code:
is selected by
CONFIG_SLUB_TINYCONFIG_SLUB_DEBUG
CONFIG_SLUB_DEBUG_ON
CONFIG_KASAN
CONFIG_KASAN_GENERIC
CONFIG_KASAN_SW_TAGS
CONFIG_KFENCE
CONFIG_KMSAN
CONFIG_KASAN
CONFIG_KASAN_GENERIC
CONFIG_KASAN_SW_TAGS
CONFIG_SLUB_DEBUG_ON
CONFIG_KASAN
CONFIG_KASAN_GENERIC
CONFIG_KASAN_SW_TAGS
CONFIG_SLUB_DEBUG
CONFIG_SLUB_DEBUG_ON