__trigger_tid_waiter(9)
β¨ __trigger_tid_waiter β¨
okay so this is a page from the Kernel API Manual, and honestly? it's a little one but she's important π like, tiny function, big main character energy, and she lives rent-free in the infiniband/hfi1 corner of the kernel πΈ
π NAME π
__trigger_tid_waiter β trigger tid waiter, bestie. that's the whole job description, no notes π«Ά
π¦ SYNOPSIS π¦
void __trigger_tid_waiter (struct rvt_qp *qp );
π ARGUMENTS π
qpβ the qp. that's it, that's the argument π it's the qp, the one and only, the main character of this function's whole life.
π DESCRIPTION π
so this one is a private entrance β like, not the front door, not the guest list entrance, the private one, iykyk π β and what it does is schedule the qp.
π heads up, bestie: it only works assuming the caller is holding the qp->s_lock. so fr fr, lock first, then come through. no sneaking in without the lock, that's the entire vibe check of this function. π
β SEE ALSO β
the lore is deep and the girls are all connected πΈ here's the whole friend group:
- the kernel file
./drivers/infiniband/hw/hfi1/tid_rdma.c TID RDMA READ protocol(9)qp_to_rcd(9)lock ordering(9)kernel_tid_waiters(9)dequeue_tid_waiter(9)queue_qp_for_tid_wait(9)tid_rdma_schedule_tid_wakeup(9)tid_rdma_trigger_resume(9)kern_reserve_flow(9)tid_rdma_find_phys_blocks_4k(9)tid_flush_pages(9)tid_rdma_find_phys_blocks_8k(9)hfi1_kern_exp_rcv_setup(9)hfi1_kern_exp_rcv_free_flows(9)__trdma_clean_swqe(9)hfi1_schedule_tid_send(9)
and that's the page, babe π dropping the credits so you know where she's from: this one comes out of ./drivers/infiniband/hw/hfi1, dated October 2026 β iconic, timeless, slay π§ββοΈπ
π¦ 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