xe_bo_put_commit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_bo_put_commit(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so real talk, this is a page from the Kernel API Manual, and the function we're hyping up today is xe_bo_put_commit. yes that's the whole name. she's a mouthful. she's also iconic. let's get into it ✨


🌸 NAME 🌸

xe_bo_put_commit β€” the girl who actually puts the bos whose put was deferred by xe_bo_put_deferred(). no cap, that's literally her job πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void xe_bo_put_commit (struct llist_head *deferred );

that's the whole signature, bb. void return, one pointer, zero drama ✨


πŸ“ ARGUMENTS πŸ“

  • deferred β€” the lockless list that got handed to xe_bo_put_deferred. like, the lil queue of bos that were too shy to get put the first time around πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe: this function puts all the bos whose put was deferred by xe_bo_put_deferred. every single one. she's thorough like that 🫢

and the deferred list? it can go either way, bestie:

  • an onstack local list β€” cute, private, lives on the stack, does its lil thing and bounces ✨
  • a global shared list used by a workqueue β€” the communal main-character energy version, shared by everybody πŸ”₯

both are valid. both get committed. that's the tea β˜•

ngl, if you were wondering "when do the deferred bos actually get put?" β€” the answer is right here, when you call this. she's the closer πŸ’…

🌈 SEE ALSO 🌈

y'all ready? because this list is long and honestly kind of iconic. source file first:

./drivers/gpu/drm/xe/xe_bo.c β€” that's the kernel file, the whole family lives here πŸŽ€

now the extended fam, in the exact order they were introduced, don't @ me:

forty-one entries. forty-one. I counted so you don't have to, you're welcome 🫢


and that's the whole page!! this lil cutie came from ./drivers/gpu/drm/xe, dated October 2026, and she goes by xe_bo_put_commit(9) πŸ’– mwah, go commit some bos bestie βœ¨πŸ’…

πŸ“¦ where this page comes from