destroy_rcu_head_on_stack(9)
πΈ NAME πΈ
bestie, this is the Kernel API Manual page for destroy_rcu_head_on_stack(9) π
β destroy_rcu_head_on_stack = destroy on-stack rcu_head for debugobjects. That's the NAME tea, periodt β¨
β¨ SYNOPSIS β¨
void destroy_rcu_head_on_stack (struct rcu_head *head );
π ARGUMENTS π
headβ pointer torcu_headstructure to be initialized. Yes, βinitializedβ β weβre not changing the original wording, bestie π«Ά
π DESCRIPTION π
okay so this function informs debugobjects that an on-stack rcu_head structure is about to go out of scope. π
As with init_rcu_head_on_stack, this function is not required for rcu_head structures that are statically defined or that are dynamically allocated on the heap. Also as with init_rcu_head_on_stack, this function has no effect for !CONFIG_DEBUG_OBJECTS_RCU_HEAD kernel builds. No cap, that's the whole vibe ββ¨
π¦ SEE ALSO π¦
Kernel file: ./kernel/rcu/update.c
rcu_read_lock_held_common(9)rcu_async_hurry(9)rcu_async_relax(9)rcu_expedite_gp(9)rcu_unexpedite_gp(9)rcu_read_lock_held(9)rcu_read_lock_bh_held(9)wakeme_after_rcu(9)init_rcu_head_on_stack(9)get_completed_synchronize_rcu(9)
π«Ά cute sign-off: source/version./kernel/rcuΒ· dateOctober 2026Β· pagedestroy_rcu_head_on_stack(9)β bye bestie, go forth and debugobjects 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