SLUB slab cache descriptor.
More...
|
| auto | activate () noexcept -> void |
| | Activate: transition embryo → active after full initialisation.
|
| auto | begin_destroy () noexcept -> void |
| | Begin teardown: transition active → dying.
|
|
| kmem_cache (const kmem_cache &)=delete |
|
| kmem_cache (kmem_cache &&)=delete |
|
auto | operator= (const kmem_cache &)=delete |
|
auto | operator= (kmem_cache &&)=delete |
|
auto | ready () const noexcept -> bool |
| | Return true if the cache is accepting allocations.
|
|
|
u32 | align {0} |
|
objects::memory_object_ref | authority {} |
|
kmem_cache_cpu | cpu [base::config::CONFIG_ZX_MAX_CPUS] {} |
|
u32 | cpu_partial {SLUB_CPU_PARTIAL_DEFAULT} |
|
slub_flags | flags {slub_flags::none} |
|
u32 | fp_offset {0} |
|
atomic< i64 > | live_objects {0} |
|
const char * | name {nullptr} |
|
kmem_cache_node | node [numa::MAX_NUMA_NODES] {} |
|
u32 | object_size {0} |
|
u32 | objects_per_slab {0} |
|
u32 | order {0} |
|
u64 | random_seq {0} |
|
u32 | size {0} |
|
atomic< u64 > | stat_alloc_fast {0} |
|
atomic< u64 > | stat_alloc_slab {0} |
|
atomic< u64 > | stat_alloc_slow {0} |
|
atomic< u64 > | stat_free_fast {0} |
|
atomic< u64 > | stat_free_slab {0} |
|
atomic< u64 > | stat_free_slow {0} |
|
lifecycle_state | state {lifecycle_state::embryo} |
SLUB slab cache descriptor.
◆ activate()
| auto zxfoundation::memory::slub::kmem_cache::activate |
( |
| ) |
->void |
|
inlineexportnoexcept |
Activate: transition embryo → active after full initialisation.
- Precondition
- state == embryo.
◆ begin_destroy()
| auto zxfoundation::memory::slub::kmem_cache::begin_destroy |
( |
| ) |
->void |
|
inlineexportnoexcept |
Begin teardown: transition active → dying.
- Precondition
- state == active.
The documentation for this class was generated from the following file: