css_put(9)
π css_put(9) β the Kernel API Manual page you didn't know you needed
okay so bestie, imagine you grabbed a reference to a css and now you need to hand it back. that's literally this whole page. it's giving release-the-grip energy, and honestly? iconic. β¨
πΈ NAME πΈ
css_put β put a css reference π
like, you had a reference, and now you're putting it. simple as that. no cap.
β¨ SYNOPSIS β¨
CGROUP_REF_FN_ATTRS void css_put (struct cgroup_subsys_state *css );
look at that signature. flawless. every character in place. we stan a consistent prototype. π
π¦ ARGUMENTS π¦
cssβ target css π β which is, like, the css you're targeting. that's the whole vibe.
π₯ DESCRIPTION π₯
so here's the tea, bestie: this function puts a reference that you obtained via css_get and css_tryget_online. π«Ά
that's it. that's the plot. you got a reference from one of those two, and now css_put is the one that puts it back. main character energy β it's literally in the name. periodt. π
fr fr, the whole point is the pairing βcss_get/css_tryget_onlineon the way in,css_puton the way out. don't leave a reference hanging, it's not cute. π
π SEE ALSO π
- the kernel file:
./include/linux/cgroup_refcnt.hπ css_get(9)css_get_many(9)css_tryget(9)css_tryget_online(9)css_put_many(9)
like, go read the whole friend group. they all hang out in the same header. iykyk. π§
and that's the page!! tysm for reading bestie π this little gem lives in ./include/linux and the manual is dated October 2026 β so go forth, put those references, and slay responsibly. ππΈβ
π¦ 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