dma_resv_lock_slow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dma_resv_lock_slow(9) ✨

okay bestie, so this is a page straight out of the Kernel API Manual, and it's literally about dma_resv_lock_slow β€” the slowpath way to lock a reservation object πŸŽ€ no cap, the name says it all.


🌸 NAME 🌸

dma_resv_lock_slow β€” slowpath lock the reservation object πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void dma_resv_lock_slow (struct dma_resv *obj , struct ww_acquire_ctx
*ctx );

Like, that's the whole signature. Short, sweet, iconic. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • obj β€” the reservation object. this is the thing you're locking, bestie.
  • ctx β€” the locking context. the vibe-check paperwork for the lock, fr fr.

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this function acquires the reservation object after a die case. and yeah, it will sleep until the lock becomes available 😴 like it's not gonna spin or throw a tantrum, it just waits. patient main character energy honestly.

Also go look at dma_resv_lock while you're here β€” they're besties 🫢

And for the interruptible variant, see dma_resv_lock_slow_interruptible β€” that's the one that can be woken up mid-wait. iykyk.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/linux/dma-resv.h


ngl the whole dma-resv fam is in that list β€” read the friends too, bestie πŸ’œ

and that's the page!! 🌈 it lives in ./include/linux and the version is stamped October 2026 β€” so like, future-core of this manpage, periodt πŸ‘‘πŸ’… mwah, go lock something slowly πŸ“

πŸ“¦ where this page comes from