closure_return(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

closure_return(9) πŸ’–

Kernel API Manual bestie reporting for duty β€” this one is short, sweet, and lowkey mysterious πŸ‘€


🌸 NAME 🌸

closure_return β€” finish execution of a closure ✨

πŸ“œ SYNOPSIS πŸ“œ

closure_return (_cl );

πŸ’… ARGUMENTS πŸ’…

  • _cl β€” the manual literally says -- undescribed -- 😭 no extra deets, so we're not gonna invent any.

πŸ” DESCRIPTION πŸ”

This is the "we're done here" signal for cl: it says cl is finished. Once all outstanding refs on cl have been dropped, cl's ref on its parent closure gets dropped too β€” and that parent closure is the one passed to closure_init β€” but only if one was specified. So think of it as returning to the parent closure πŸ”πŸ«Ά.

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./include/linux/closure.h:


made with πŸ’– from ./include/linux Β· October 2026 Β· closure_return(9) β€” k bye bestie 🫢

πŸ“¦ where this page comes from