get_state_synchronize_srcu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” the srcu_struct to 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 πŸ‘‘


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