kmsan_slab_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this page is from the Kernel API Manual, and the manual page is kmsan_slab_alloc(9). The function is kmsan_slab_alloc β€” Notify KMSAN about a slab allocation. ✨


✨ SYNOPSIS ✨

void kmsan_slab_alloc (struct kmem_cache *s , void *object , gfp_t flags
);

πŸŽ€ ARGUMENTS πŸŽ€

  • s β€” the slab cache that the object belongs to. That's its whole home, iykyk. 🏠
  • object β€” the object pointer. Literally the pointer to the object, main character energy. πŸ’…
  • flags β€” the GFP flags passed to the allocator. Slay. πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

Depending on the cache flags and the GFP flags, KMSAN sets up the metadata of the newly created object, marking it as initialized or uninitialized. That's the whole plot, no cap. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./include/linux/kmsan.h, and these are the linked besties:


Sign-off time, bestie 🫢 The source/version spot says ./include/linux, the date is October 2026, and the footer name is kmsan_slab_alloc(9). Mwah πŸ’‹ byeee πŸŽ€

πŸ“¦ where this page comes from