folio_test_pmd_mappable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is folio_test_pmd_mappable(9) from the Kernel API Manual, and the name is literally the question: Can we map this folio with a PMD? That's the whole assignment. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

bool folio_test_pmd_mappable (struct folio *folio );

πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” The folio to test. Just hand it over and let the function do its little vibe check. πŸ’…

🌸 RETURN 🌸

It gives you back true - folio can be mapped, false - folio cannot be mapped. No in-between, no maybes, periodt. πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file ./include/linux/huge_mm.h β€” go peek if you're nosy (affectionate):


mwah πŸ’‹ this icon was served up from source/version ./include/linux and dated October 2026. byeee 🫢

πŸ“¦ where this page comes from