kernel_tid_waiters(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is kernel_tid_waiters(9), and it lives in the Kernel API Manual β€” welcome to the group chat, bestie πŸ’…βœ¨

πŸ’– NAME πŸ’–

kernel_tid_waiters β€” short version: determine rcd wait. That's the name vibe, no cap.

✨ SYNOPSIS ✨

       bool kernel_tid_waiters (struct hfi1_ctxtdata *rcd , struct tid_queue
       *queue , struct rvt_qp *qp );

πŸŽ€ ARGUMENTS πŸŽ€

  • rcd β€” the receive context. She's the receive context, okay? πŸ’–
  • queue β€” the queue to operate on.
  • qp β€” the head of the qp being processed. Main-character qp, lowkey.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the tea β˜• is: this routine will return false IFF the list is NULL or the head of the list is the indicated qp. That's the exact condition, periodt.

Also, before you even think about it: must hold the qp s_lock and the exp_lock. Like, both. Do not skip the lock vibes, bestie. πŸ™ˆ

🌸 RETURN 🌸

false if either of these conditions is satisfied:

  1. The list is empty or
  2. The indicated qp is at the head of the list and the HFI1_S_WAIT_TID_SPACE bit is set in qp->s_flags.

true is returned otherwise. Slay. πŸ’…

🌈 SEE ALSO 🌈

mwah πŸ’‹ this iconic page comes from ./drivers/infiniband/hw/hfi1, dated October 2026 β€” source? iconic. date? iconic. periodt. 🫢

πŸ“¦ where this page comes from