page_zpdesc(9)
π page_zpdesc: the page-to-zpdesc converter π
okay so bestie, this is the page_zpdesc(9) kernel API manual page β section 9, literally the kernel API manual β and it's all about going from the first struct page to a zpdesc. That's the vibe. π
β¨ NAME β¨
page_zpdesc β converts from first struct page to zpdesc. No cap, that's the whole assignment. π¦
πΈ SYNOPSIS πΈ
page_zpdesc (p );
π ARGUMENTS π
pβ the first page of thezpdesc(either the head of compound or a single page). That's the one you pass in, bestie. π
π« DESCRIPTION π«
So this is a temporary wrapper to convert struct page to struct zpdesc in situations where we know the page is the compound head, or a single order-0 page. It's giving "we know what this page is, let's wrap it," and we love that for us. β¨
Long-term, ideally everything would work with struct zpdesc directly or go through folio to struct zpdesc. That's the dream scenario, fr fr. π
π«Ά RETURN π«Ά
The zpdesc which contains this page. That's what you get back β the zpdesc, containing this page. Periodt. π
π¦ SEE ALSO π¦
- Kernel file:
./mm/zpdesc.h zpdesc_folio(9)
xoxo, source/version ./mm, dated October 2026 πΈπβ¨
π¦ 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