kmsan_memblock_free_pages(9)
π kmsan_memblock_free_pages(9) β Kernel API Manual π
β¨ NAME β¨
kmsan_memblock_free_pages - handle freeing of memblock pages. that's the name, bestie, and it's iconic. π«Ά
π SYNOPSIS π
okay so the signature is literally this:
bool kmsan_memblock_free_pages (struct page *page , unsigned int order
);
π ARGUMENTS π
pageβstruct pageto free. the page you're freeing, she's the main character here. πorderβ order of page. the order, no cap. β¨
π¦ DESCRIPTION π¦
here's the tea: freed pages are either returned to buddy allocator or held back to be used as metadata pages. that's the whole vibe β no extra lore, that's literally it. π
π SEE ALSO π
this all lives around the kernel file ./include/linux/kmsan.h, and these are the related pages you should also check out, fr fr:
kmsan_task_create(9)kmsan_task_exit(9)kmsan_init_shadow(9)kmsan_init_runtime(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)
mwah π β from ./include/linux, October 2026, on the kmsan_memblock_free_pages(9) page in the Kernel API Manual. periodt. π
π¦ 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