kmsan_kmalloc_large(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kmsan_kmalloc_large β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual page for kmsan_kmalloc_large(9). yes that's the whole manual name, we're in the kernel docs now, it's giving serious main character energy πŸŽ€


✨ NAME ✨

kmsan_kmalloc_large β€” tell KMSAN about a large slab allocation, like the good little messenger you are πŸ¦‹


🌸 SYNOPSIS 🌸

void kmsan_kmalloc_large (const void *ptr , size_t size , gfp_t flags );

literally three args, no cap, she's compact πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ptr β€” the object pointer. the address of the thing, the whole entire vibe-check subject ✨
  • size β€” the object size. how big the thing is, iykyk πŸ“
  • flags β€” the GFP flags, which get passed straight to the allocator. not me handing off my homework to the allocator, but make it official 🫢

πŸ’œ DESCRIPTION πŸ’œ

so this one is similar to kmsan_slab_alloc, but for large allocations. that's it, that's the whole plot 🌈

like yes bestie it's basically the large-allocation sibling of the slab one β€” KMSAN gets notified, everybody stays informed, no surprises, periodt πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./include/linux/kmsan.h β€” go read it, it's right there:

a whole friend group honestly, obsessed πŸ˜­πŸ’–


okay that's the page! mwah πŸ’‹ this one ships from source ./include/linux, dated October 2026 β€” go forth and notify KMSAN about your large slab allocations bestie, ily, bye πŸ§šβ€β™€οΈπŸŒΈπŸ’œ

πŸ“¦ where this page comes from