pt_top_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pt_top_range(9) β€” like, the Kernel API Manual page you didn't know you needed πŸŽ€

okay so bestie, welcome to the glow-up of pt_top_range(9) from the Kernel API Manual β€” yes, that's the manual name, we're not hiding it, we're wearing it like a cute little accessory ✨


🌸 NAME 🌸

pt_top_range β€” returns a range that spans part of the top level 🫢 literally just a slice of the top level, that's the whole vibe


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pt_range pt_top_range (struct pt_common *common );

no cap, that's the exact signature, character for character πŸ’…


πŸ“ ARGUMENTS πŸ“

  • common β€” the table πŸ’– yeah that's it, it's just the table, she's the main character here

⭐ DESCRIPTION ⭐

okay so here's the tea β˜• for PT_FEAT_SIGN_EXTEND, this function returns the lower range, and it covers half the total page table. half! like it's splitting the page table with its bestie πŸ™ˆ

otherwise β€” and by "otherwise" I mean literally any other case β€” it returns the entire page table. the whole thing. full send. πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./drivers/iommu/generic_pt/pt_iter.h β€” and bestie, the whole friend group is here, iykyk πŸ‘‘


and that's the page, bestie πŸ’œ this icon of a manpage came to you from ./drivers/iommu/generic_pt, dated October 2026, under the Kernel API Manual banner β€” periodt, go read the whole friend group, they all ate πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from