tsm_mr_free_attribute_group(9)
π tsm_mr_free_attribute_group (kernel API manual, section 9, bestie) π
okay so hi π you've wandered into the kernel API manual for tsm_mr_free_attribute_group(9) and honestly? you're in the right place. this is the cleanup crew of the kernel β the moment where we say bye to something we made earlier. slay.
β¨ NAME β¨
tsm_mr_free_attribute_group β the function that frees the attribute group that tsm_mr_create_attribute_group() handed you earlier π«Ά
like. it's the undo button. the "ok we're done here" button. no cap.
πΈ SYNOPSIS πΈ
void tsm_mr_free_attribute_group (const struct attribute_group *attr_grp );
that's it. that's the whole signature. void return, one const pointer argument, and a lot of closure energy π
π¦ ARGUMENTS π¦
attr_grpβ the attribute group returned bytsm_mr_create_attribute_groupπ this is the exact same thing you got back from the create call, and now it's the thing getting freed. circle of life fr fr.
π CONTEXT π
Process context. that's the whole context section π so like, you're running as a process, not in some wild interrupt-y nightmare. keep it that way. periodt.
β SEE ALSO β
- Kernel file
./drivers/virt/coco/guest/tsm-mr.cβ go read the source, iykyk π tsm_mr_create_attribute_group(9)β the function that makes the attribute group in the first place π (the two are literally a matching set, obsessed)
quick vibe check π: if you didn't getattr_grpfromtsm_mr_create_attribute_group(), that's not this function's problem β the manual only tells you what this one does, so don't come for me.
and that's the whole page bestie, no filler, no fluff, all facts π₯
β signed off with love from ./drivers/virt/coco/guest, October 2026, page tsm_mr_free_attribute_group(9) π§ππ
π¦ 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