memblock_reg...mory_end_pfn(9)
π memblock_reg...mory_end_pfn(9) β Kernel API Manual, but make it a vibe
okay bestie, so this is a kernel API manual page β the <italic>Kernel API Manual</italic> one, and no I'm not gonna make you read the truncated title, it's literally <pink>memblock_region_memory_end_pfn</pink> and that's the whole β¨main characterβ¨ of this page, periodt.
πΈ NAME πΈ
memblock_region_memory_end_pfn β get the end pfn of the memory region π
β¨ SYNOPSIS β¨
unsigned long memblock_region_memory_end_pfn (const struct
memblock_region *reg );
like, that's the whole call, that's it, that's the girl π«Ά
π ARGUMENTS π
regβ amemblock_regionstructure. that's the entire argument. she's low maintenance, we stan π
π RETURN π
the end_pfn of the reserved region β¨ β ngl yes the RETURN section says <purple>reserved</purple> while the NAME section says <purple>memory</purple>, and I'm just the messenger here, quoting the page exactly, iykyk π
π¦ SEE ALSO π¦
this is the part where the page just... lists literally every friend she knows, and honestly? iconic. the crowd is HERE π
Kernel file ./include/linux/memblock.h:
enum memblock_flags(9)struct memblock_region(9)struct memblock_type(9)struct memblock(9)for_each_physmem_range(9)__for_each_mem_range(9)__for_each_mem_range_rev(9)for_each_mem_range(9)for_each_mem_range_rev(9)for_each_reserved_mem_range(9)for_each_mem_pfn_range(9)for_each_free_mem_range(9)for_each_free_mem_range_reverse(9)memblock_set_current_limit(9)memblock_region_memory_base_pfn(9)memblock_region_reserved_base_pfn(9)memblock_region_reserved_end_pfn(9)for_each_mem_region(9)for_each_reserved_mem_region(9)
so many icons in one function's orbit, the group chat is poppin ππ₯
fr fr the only thing this page promises you is the end pfn of the region β everything else is just her glamorous little network π
β¨ and that's the page β¨ β it lives in ./include/linux, it's dated <lavender>October 2026</lavender>, and the manual section is memblock_reg...mory_end_pfn(9) all over again, because the header and the footer are the same girl twice π bye bestie, go read memblock_region_memory_base_pfn(9) next, she's her sister ππΈ
π¦ 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