xe_tlb_inval_job_create(9)
π xe_tlb_inval_job_create(9) π
ok so this is a page from the Kernel API Manual β yes bestie, the kernel has a manual too and it's giving very serious documentation energy π
β¨ NAME β¨
xe_tlb_inval_job_create β literally just making a TLB invalidation job. That's the whole vibe. π¦
πΈ SYNOPSIS πΈ
struct xe_tlb_inval_job * xe_tlb_inval_job_create (struct xe_exec_queue
*q , struct xe_tlb_inval *tlb_inval , struct xe_dep_scheduler
*dep_scheduler , struct xe_vm *vm , u64 start , u64 end , int type );
likeβ¦ seven arguments, no cap. she's high-maintenance but she delivers π
π«Ά ARGUMENTS π«Ά
qβ the exec queue that's issuing the invalidate, aka the main character doing the actual work β¨tlb_invalβ the TLB invalidation client, the little client that could π§dep_schedulerβ the dependency scheduler for the job, keeping everything in order like the group chat admin πvmβ the VM this TLB invalidation is being issued for, the whole reason we're here fr frstartβ start address to invalidate, the beginning of the chaos πendβ end address to invalidate, the finish line πtypeβ GT type, iykyk π₯
π DESCRIPTION π
ok so what this does is create a TLB invalidation job and initialize all the internal fields for you. super helpful, honestly iconic of it π
one thing though, bestie β the caller is responsible for releasing the creation reference. not me, not the kernel, you. don't forget or it's gonna be a whole thing π
β RETURN β
on success you get a TLB invalidation job object back β slay π
on failure you get ERR_PTR. not slay. but at least it's honest π
π SEE ALSO π
- the kernel file, right here:
./drivers/gpu/drm/xe/xe_tlb_inval_job.c xe_tlb_inval_job_add_page_reclaim(9)xe_tlb_inval_job_alloc_dep(9)xe_tlb_inval_job_push(9)xe_tlb_inval_job_get(9)xe_tlb_inval_job_put(9)
like a little friend group of TLB functions, obsessed π«Άβ¨
so yeah, that's the whole page π sourced straight outta ./drivers/gpu/drm/xe, dated October 2026, and the title's xe_tlb_inval_job_create(9) in case you forgot already π mwah, go invalidate those TLBs responsibly bestie π
π
π¦ 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