xe_page_reclaim_skip(9)
π xe_page_reclaim_skip(9) β the kickstart kernel API manual, bestie edition π
Okay so real talk: this one lives in section 9 of the kernel API manual, and it's a lil boolean gatekeeper that decides whether PRL should be skipped for a VMA. Lowkey iconic behaviour, honestly. β¨
πΈ NAME πΈ
xe_page_reclaim_skip β decide whether PRL should be skipped for a VMA. That's it, that's the job, and she does it flawlessly. π
π¦ SYNOPSIS π¦
bool xe_page_reclaim_skip (struct xe_tile *tile , struct xe_vma *vma );
Look at her. Two args, one bool return. No notes. π«Ά
π ARGUMENTS π
tileβ thestruct xe_tile *that owns the VMA. Like, whose VMA is this? This tile's. Periodt.vmaβ thestruct xe_vma *currently under consideration. She's on the vibe check list. π
β¨ DESCRIPTION β¨
So here's the lore: PPC flushing may be handled by HW for specific PAT encodings. Yes, the hardware can just do it for you sometimes, slay. π
And because of that, we skip PPC flushing/Page Reclaim for the scenarios listed below β the flushes would be redundant, and redundant flushes are not the moment. π
pat_indexis transient display (1). That's the whole bullet. She's a short queen but she matters. π
And for cases of NULL VMA, there should be no corresponding PRL entry, so skip over. Not me checking and finding nothing to reclaim π«Ά β if there's no VMA, there's no PRL entry to worry about, so we just move on.
π₯ RETURN π₯
truewhen page reclamation is unnecessary πfalseotherwise π
β SEE ALSO β
Kernel file ./drivers/gpu/drm/xe/xe_page_reclaim.c
xe_page_reclaim_create_prl_bo(9)xe_page_reclaim_list_invalidate(9)xe_page_reclaim_list_init(9)xe_page_reclaim_list_alloc_entries(9)xe_guc_page_reclaim_done_handler(9)
Go read the whole friend group, they're all linked and they all ate. π
And that's the page, bestie!! π§ Big thank-you to ./drivers/gpu/drm/xe for hosting this whole situation, October 2026 edition β mwah π, and this has been xe_page_reclaim_skip(9), signing off. π
π¦ 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