page_ext_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is page_ext_get(9) from the Kernel API Manual β€” and it does exactly what it says on the tin: it grabs the extended information for a page. slay ✨


🌸 SYNOPSIS 🌸

struct page_ext * page_ext_get (const struct page *page );

that's the whole signature, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • page β€” the page we're interested in. literally the one you're curious about 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: this guarantees that the page_ext stays valid until page_ext_put is called. that's the whole promise, and it's lowkey iconic πŸ’–


⭐ RETURN ⭐

it returns NULL if there's no page_ext for this page. no page_ext? NULL. periodt πŸ’€


🌈 CONTEXT 🌈

works in any context. but heads up bestie: the caller may not sleep until they've called page_ext_put. so no snoozing 😭

no sleeping before page_ext_put, fr fr πŸ›‘πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole squad:


later bestie πŸ’– β€” this came from source/version ./mm, dated October 2026. mwah πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from