pud_is_huge(9)
π pud_is_huge(9) β like, the kernel API manual bestie β¨
okay so welcome to pud_is_huge, straight out of the Kernel API Manual section 9 (that's the kernel-API-girlies section, iykyk π). she's a little function, she answers one (1) question, and she does it flawlessly. periodt.
β¨ SYNOPSIS β¨
bool pud_is_huge (pud_t pud );
like, that's it. that's the whole vibe. one argument in, a bool out, no drama π
πΈ ARGUMENTS πΈ
pudβ the PUD you want to check. that's the one. hand her the PUD and she'll tell you what's up π«Ά
π¦ DESCRIPTION π¦
so she's basically the same energy as pmd_is_huge, no cap β same job, same vibe, same "is this a huge entry or what" energy. the ONLY difference?
she does it at the PUD level instead of the PMD level. that's it. that's the whole plot twist π§β¨
she's checking whether this PUD is either a huge PUD entry or a software leaf entry β those are the two things she's looking for, bestie. don't forget the software leaf part, it's lowkey important π
π₯ RETURN π₯
trueβ yup, this PUD is huge π slay.falseβ nope, not huge. and that's fine too π
literally binary. iconic behaviour.
π SEE ALSO π
all the sister functions and the kernel file she lives near:
- Kernel file
./include/linux/huge_mm.hπ (that's her home, her whole address) thp_vma_allowable_orders(9)pmd_is_huge(9)β her cousin, same energy, different level π«folio_test_pmd_mappable(9)largest_zero_folio(9)
β οΈ real talk:pud_is_hugereturnstruefor a huge PUD entry or a software leaf entry. both count. don't @ me, that's just what the manpage says π
kay that's the whole page, bestie!! this one lives in ./include/linux, dated October 2026, and she's filed under pud_is_huge(9) β mwah, go check ur PUDs π
ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms