memblock_reg...rved_end_pfn(9)
π memblock_reg...rved_end_pfn(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a tiny little helper function and honestly it's giving "short but essential," y'know? Let's get into it π
πΈ NAME πΈ
memblock_region_reserved_end_pfn β literally just gets the end pfn of the reserved region π
that's it, that's the whole job, and she does it flawlessly
β¨ SYNOPSIS β¨
unsigned long memblock_region_reserved_end_pfn (const struct memblock_region *reg );
like, you hand her a reg and she hands you back an unsigned long, no cap π«Ά
π¦ ARGUMENTS π¦
regβ amemblock_regionstructure, that's the whole vibe. she takes the struct, she reads it, she's done π
β RETURN β
the end_pfn of the reserved region π periodt. that's what you get back, no surprises, no plot twists π
π SEE ALSO π
bestie there is a whole friend group of related kernel things, and I'm not skipping a single one of them, we're listing them all fr fr π₯
Kernel file ./include/linux/memblock.h, plus the 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_memory_end_pfn(9), memblock_region_reserved_base_pfn(9), for_each_mem_region(9), and for_each_reserved_mem_region(9) β go say hi to all of them, they're icons, they ate π
β¨
aaaand that's the page! π§ from ./include/linux, dated October 2026, this has been memblock_reg...rved_end_pfn(9) β mwah, ily, go read the other memblock pages, bye bestie πππ¦
π¦ 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