xe_sched_job_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_sched_job_put(9) ✨

okay bestie, welcome to the Kernel API Manual β€” yes we're literally reading kernel docs together, this is our bonding time 🫢 and today's main character is xe_sched_job_put, a tiny little function with big "let it go" energy πŸ’…


🌸 NAME 🌸

xe_sched_job_put β€” the "put down the reference" moment for an Xe schedule job, no cap


πŸŽ€ SYNOPSIS πŸŽ€

void xe_sched_job_put (struct xe_sched_job *job );

like, that's the whole vibe. void return, one argument, done ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • job β€” the Xe schedule job object in question πŸ’– this is the thing you're letting go of, fr fr

πŸ’œ DESCRIPTION πŸ’œ

so here's the lore: this one decrements the Xe schedule job's reference count. that's it, that's the job πŸŽ€

and when that reference count hits == 0, it goes ahead and calls xe_sched_job_destroy β€” like the reference count reaching zero is the cue, the signal, the "your time has come" moment 😭πŸ”₯

no refs left? destroy time. periodt πŸ’…


🌈 SEE ALSO 🌈

  • the kernel file ./drivers/gpu/drm/xe/xe_sched_job.h β€” go read it, iykyk πŸ“–
  • xe_sched_job_get(9) β€” the other half of the story, the one that takes a reference while this one puts it back πŸ’– you kinda need both to understand the whole cycle, ngl

and that's the page!! mwah πŸ’‹ this gem lives in ./drivers/gpu/drm/xe and it's dated October 2026, so yeah β€” future vibes only, slay πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from