get_state_synchronize_srcu(9)
β¨ NAME β¨
get_state_synchronize_srcu β provide an end-of-grace-period cookie πͺβ¨
πΈ SYNOPSIS πΈ
unsigned long get_state_synchronize_srcu (struct srcu_struct *ssp );
π ARGUMENTS π
sspβ thesrcu_structto provide a cookie for. π«Ά
π DESCRIPTION π
okay so bestie, welcome to the Kernel API Manual π β this function returns a cookie πͺ that you can pass to poll_state_synchronize_srcu, which will return true if a full grace period has elapsed in the meantime. no cap.
It is the callerβs responsibility to make sure that grace period actually happens β for example, by invoking call_srcu after return from get_state_synchronize_srcu. thatβs the whole vibe, fr fr. π
π¦ SEE ALSO π¦
Kernel file ./kernel/rcu/srcutree.c π
init_srcu_struct_generic(9)init_srcu_struct_fast(9)init_srcu_struct_fast_updown(9)cleanup_srcu_struct(9)call_srcu(9)synchronize_srcu_expedited(9)synchronize_srcu(9)start_poll_synchronize_srcu(9)poll_state_synchronize_srcu(9)srcu_barrier(9)srcu_expedite_current(9)srcu_batches_completed(9)
thatβs the tea β β signing off from the Kernel API Manual with page get_state_synchronize_srcu(9), source ./kernel/rcu, dated October 2026. πβ¨π«Ά
π¦ 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