page_address(9)
π page_address(9) β Kernel API Manual, bestie edition π
okay so welcome to the page_address glow-up β¨ this one lives in the Kernel API Manual and it's honestly such a lil cutie β one job, does it well, periodt.
πΈ NAME πΈ
page_address β get the mapped virtual address of a page π¦
like, you hand it a page and it hands you back where that page lives in virtual-address land. no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
void * page_address (const struct page *page );
look at her. one function, one argument, returns a void *. main character energy fr fr π
π ARGUMENTS π
pageβ thestruct pageyou want the virtual address of π«Ά that's it, that's the whole argument list, we love a low-maintenance icon.
π DESCRIPTION π
Returns the page's virtual address. literally it. that's the sentence. the function returns the page's virtual address and honestly?
ngl this is the shortest DESCRIPTION ever and she still ate π no filler, no fluff, just vibes and a return value.
π¦ SEE ALSO π¦
- Kernel file
./mm/highmem.cπ₯ kmap_high(9)kmap_high_get(9)kunmap_high(9)set_page_address(9)
go read those too bestie, they're all in ./mm/highmem.c and they're all part of the same highmem friend group π iykyk
and that's the whole page!! mwah π kisses from the ./mm tree β this one's dated October 2026, so it's giving future icon βπΈπ go forth and map those addresses, 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