page_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct page you 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 πŸ¦‹

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