rdma_restrack_attach_task(9)
π rdma_restrack_attach_task(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the Kernel API Manual, we're literally in the big leagues now. this little icon is about one very specific job: attaching a task onto a resource, and it's only valid for user space restrack entries. that's the whole vibe check. user space only. no cap. π«Ά
β¨ SYNOPSIS β¨
void rdma_restrack_attach_task (struct rdma_restrack_entry *res , struct task_struct *task );
it returns void, so likeβ¦ nothing comes back. it just does the thing and leaves. main character energy honestly. π
πΈ ARGUMENTS πΈ
resβ the resource entry π this is the restrack entry you're gluing stuff onto.taskβ the task to attach π¦ the actual task that's getting attached. that's it, that's the whole job.
π SEE ALSO π
first up, the kernel file that lives at ./drivers/infiniband/core/restrack.c β go read it, iykyk π
and then the whole restrack friend group, in this exact order, no skipping:
rdma_restrack_init(9)rdma_restrack_clean(9)rdma_restrack_count(9)rdma_restrack_set_name(9)rdma_restrack_parent_name(9)rdma_restrack_new(9)rdma_restrack_add(9)rdma_restrack_abort_del(9)rdma_restrack_get_byid(9)rdma_restrack_sync(9)rdma_restrack_del(9)rdma_restrack_begin_del(9)rdma_restrack_commit_del(9)
like, the entire restrack cinematic universe fr fr πβ
π friendly reminder that this one is valid for user space restrack entries only β don't come for me if you point it at kernel space stuff, the manpage said what it said π
and that's the page!! shoutout to ./drivers/infiniband/core for hosting the source, and to October 2026 for being the date on this iconic little drop πβ¨ slay, bye! π
π¦ 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