ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::memory::slub::slab_header Struct Referenceexport

Metadata embedded at the physical start of each slab frame. More...

Collaboration diagram for zxfoundation::memory::slub::slab_header:
[legend]

Data Fields

u8 _pad {0}
kmem_cachecache {nullptr}
 Back-pointer to owning kmem_cache.
slab_headercpu_partial_next {nullptr}
 CPU partial list (singly-linked).
void * freelist {nullptr}
 In-object freelist head (when parked).
u8 frozen {0}
 1 = CPU owns its active freelist.
atomic< u32 > inuse {0}
 Live allocated objects.
slab_headernext {nullptr}
 Node partial list linkage.
u8 node_id {0}
 PMM-selected NUMA owner node.
u32 objects {0}
 Total objects in this slab.
u8 on_node_partial {0}
 Linked in its owner's partial list.
u64 phys {0}
 Physical address of this slab frame.
slab_headerprev {nullptr}
sync::rcu::rcu_head rcu {}
 For typesafe_by_rcu deferred free.
u32 rcu_order {0}
 PMM order stashed for RCU deferred free.
u32 slab_order {0}
 PMM order of this slab (set once, never changes).

Detailed Description

Metadata embedded at the physical start of each slab frame.


The documentation for this struct was generated from the following file: