rvt_dereg_clean_qps(9)
π rvt_dereg_clean_qps(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil function page, rvt_dereg_clean_qps β and yes it's as niche as it sounds, but we're gonna slay it together π«Ά
β¨ NAME β¨
rvt_dereg_clean_qps β find QPs for reference cleanup π
like, the whole vibe is: go hunt down the QPs so the references can get cleaned up. periodt.
π SYNOPSIS π
void rvt_dereg_clean_qps (struct rvt_mregion *mr );
that's it, that's the whole signature π returns void, takes one thing. no cap.
πΈ ARGUMENTS πΈ
mrβ the MR that's being deregistered. that's the memory region we're saying bye to ππ
π DESCRIPTION π
so what does it actually do? bestie. this routine iterates RC QPs looking for references to the lkey noted in mr π₯
that's the whole bit β it walks the RC QPs, checks 'em for refs to the lkey that lives in mr, and that's how it finds the QPs that need reference cleanup. it's giving main character energy for the cleanup process ngl π
no weird edge cases here, no return value to check β it's void, so literally nothing comes back at you π
π¦ SEE ALSO π¦
- kernel file
./drivers/infiniband/sw/rdmavt/mr.c rvt_driver_mr_init(9)rvt_mr_exit(9)rvt_alloc_lkey(9)rvt_free_lkey(9)rvt_get_dma_mr(9)rvt_reg_user_mr(9)rvt_dereg_clean_qp_cb(9)rvt_check_refs(9)rvt_mr_has_lkey(9)rvt_ss_has_lkey(9)rvt_dereg_mr(9)rvt_alloc_mr(9)rvt_set_page(9)rvt_map_mr_sg(9)rvt_fast_reg_mr(9)rvt_invalidate_rkey(9)rvt_sge_adjacent(9)rvt_lkey_ok(9)rvt_rkey_ok(9)
like, the whole mr.c friend group fr fr π go read 'em, they're all icons π
and that's a wrap!! this page lives with the source in ./drivers/infiniband/sw/rdmavt and it's dated October 2026 β so go forth, deregister those QPs, and remember: reference cleanup is self care π§ββοΈπ 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