pt_max_sw_bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

hii bestie, welcome to pt_max_sw_bit(9) from the Kernel API Manual πŸŽ€ this one is giving very "tell me the max software bit" energy.

  • pt_max_sw_bit β€” returns the maximum software bit that’s usable for any level and any entry ✨ periodt.

✨ SYNOPSIS ✨

unsigned int pt_max_sw_bit (struct pt_common *common );

🫢 ARGUMENTS 🫢

  • common β€” the page table. that’s the vibe, no cap 🫢

πŸ’… DESCRIPTION πŸ’…

okay so the swbit you get back from this? it can be passed as bitnr to the other sw_bit functions. literally that’s the whole point, bestie πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

go sip some tea and read these too, iykyk πŸ’–


xoxo bestie πŸ’– β€” source/version: ./drivers/iommu/generic_pt Β· date: October 2026 Β· page: pt_max_sw_bit(9) πŸŽ€

πŸ“¦ where this page comes from