closure_return(9)
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:
closure_sync(9)closure_get(9)closure_get_not_zero(9)closure_init(9)closure_wake_up(9)continue_at(9)continue_at_nobarrier(9)closure_return_with_destructor(9)closure_call(9)
made with π from ./include/linux Β· October 2026 Β· closure_return(9) β k bye bestie π«Ά
π¦ 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