ENUM SLAB_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the Kernel API Manual page for enum slab_flags β€” literally How the slab flags bits are used. slay, we're in kernel land now. 🫢

🌸 SYNOPSIS 🌸

enum slab_flags {
    SL_locked ,
    SL_partial ,
    SL_pfmemalloc

};

πŸŽ€ Constants πŸŽ€

  • SL_locked β€” Is locked with slab_lock πŸ”’
  • SL_partial β€” On the per-node partial list πŸ“‹
  • SL_pfmemalloc β€” Was allocated from PF_MEMALLOC reserves πŸ’Ύ

πŸ’… Description πŸ’…

The slab flags share space with the page flags πŸ‘€ but some bits have different interpretations. The high bits are used for information like zone/node/section. ✨

✨ SEE ALSO ✨

Kernel file ./mm/slub.c: kmem_cache_alloc_node(9), kmem_cache_free(9), ksize(9), kfree(9), kvfree(9), kvfree_atomic(9), kvfree_sensitive(9), kmem_cache_alloc_bulk(9). πŸ¦‹


okay bestie, that's the whole enum slab_flags(9) page β€” source/version ./mm, dated October 2026. Catch you in the kernel group chat! 🫢✨

πŸ“¦ where this page comes from