kmsan_slab_alloc(9)
πΈ 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:
kmsan_task_create(9)kmsan_task_exit(9)kmsan_init_shadow(9)kmsan_init_runtime(9)kmsan_memblock_free_pages(9)kmsan_alloc_page(9)kmsan_free_page(9)kmsan_copy_page_meta(9)kmsan_slab_free(9)kmsan_kmalloc_large(9)kmsan_kfree_large(9)kmsan_ioremap_page_range(9)kmsan_iounmap_page_range(9)kmsan_handle_dma(9)kmsan_handle_dma_sg(9)kmsan_handle_urb(9)kmsan_unpoison_entry_regs(9)kmsan_get_metadata(9)kmsan_enable_current(9)kmsan_disable_current(9)memset_no_sanitize_memory(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms