misc_cg_uncharge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ misc_cg_uncharge(9) ✨

okay so like, welcome to the Kernel API Manual bestie πŸ’– this one's called misc_cg_uncharge and it's genuinely so straightforward you're gonna slay it.


🌸 NAME 🌸

misc_cg_uncharge β€” literally just uncharges the misc cgroup. that's the whole vibe. giving very much "undo button" energy πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void misc_cg_uncharge (enum misc_res_type type , struct misc_cg *cg ,
u64 amount );

look at her. iconic signature. no notes. πŸ‘‘


πŸ’… ARGUMENTS πŸ’…

  • type β€” the misc res type that was charged in the first place. you're telling the function what you're giving back, so don't fumble it πŸ™ˆ
  • cg β€” the misc cgroup that's about to get uncharged. this is the main character of the operation ngl 🫢
  • amount β€” the charged amount. how much are we handing back? that much. exactly that. πŸ’€

🧚 CONTEXT 🧚

any context. fr fr, any. no restrictions, no special requirements, she's flexible like that ✨


πŸ’œ SEE ALSO πŸ’œ

all the siblings and neighbors, ok? go read them too, iykyk:


lowkey a whole family reunion in here and every single one of them is invited πŸŽ€

and that's the page!! mwah πŸ’‹ this came from the ./kernel/cgroup corner of the tree, dated October 2026, and yes the footer says misc_cg_uncharge(9) again because she loves a callback. periodt. πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from