kmsan_init_runtime(9)
π kmsan_init_runtime β a little intro, bestie
okay so real quick: this page lives in the kmsan_init_runtime(9) section of the Kernel API Manual, and it's literally just one function that gets KMSAN's whole situation set up and then flips KMSAN on. no cap. β¨
π NAME π
kmsan_init_runtime β initialize the KMSAN state and enable KMSAN, periodt.
π¦ SYNOPSIS π¦
void kmsan_init_runtime (void );
that's it. that's the whole signature. cute, right?
πΈ ARGUMENTS πΈ
voidβ no arguments. none. zero. the function takes nothing and honestly? iconic behaviour. π
ngl this is the shortest arguments section i've ever seen and i'm obsessed with it π«Ά
π SEE ALSO π
okay bestie, buckle up, because this is the group chat and everyone's invited π
Kernel file ./include/linux/kmsan.h β the main character file itself π
and then, in the order they show up:
kmsan_task_create(9)kmsan_task_exit(9)kmsan_init_shadow(9)kmsan_memblock_free_pages(9)kmsan_alloc_page(9)kmsan_free_page(9)kmsan_copy_page_meta(9)kmsan_slab_alloc(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)
likeβ¦ the whole KMSAN extended universe is in here fr fr π ππ₯
quick vibe check: this page is sourced from ./include/linux, version-dated October 2026, and it's filed under kmsan_init_runtime(9) β that's the whole footer, but make it cute ππ§π
okay bye bestie, go initialize that runtime π β¨π
π¦ 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