rcu_watchin...topped_since(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the Kernel API Manual page for rcu_watching_snap_stopped_since, and it answers the very specific question: has RCU stopped watching a given CPU since the specified @snap? Bestie, it's giving deeply niche RCU main-character energy and I am obsessed. πŸ¦‹βœ¨


🌸 SYNOPSIS 🌸

bool rcu_watching_snap_stopped_since (struct rcu_data *rdp , int snap );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdp β€” the rcu_data corresponding to the CPU for which to check EQS.
  • snap β€” the rcu_watching snapshot taken when the CPU wasn't in an EQS.

✨ DESCRIPTION ✨

Returns true if the CPU corresponding to rdp has spent some time in an extended quiescent state since snap. Note that this doesn't check if it /still/ is in an EQS β€” it only checks that it went through one since snap. Lowkey a different question, okay? πŸ‘€

This is meant to be used in a loop waiting for a CPU to go through an EQS. So like, it's the "are we there yet?" of RCU checks, fr fr. πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./kernel/rcu/tree.c, plus the whole SEE ALSO bestie lineup:


Cute little sign-off: this page is from source/version ./kernel/rcu, dated October 2026, and the header energy is rcu_watchin...topped_since(9). Slay, kernel docs, slay. πŸ’…πŸŽ€πŸ’–

πŸ“¦ where this page comes from