rcu_dereference_all_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to rcu_dereference_all_check(9) from the Kernel API Manual β€” we're doing RCU debug-checking together and it's literally gonna slay βœ¨πŸ¦‹

🌸 NAME 🌸

rcu_dereference_all_check β€” it's rcu_dereference_all with debug checking πŸ’…

✨ SYNOPSIS ✨

rcu_dereference_all_check (p , c );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” the pointer to read, prior to dereferencing it πŸ‘€ read first, dereference later, bestie
  • c β€” the conditions under which the dereference will take place βœ… it's the vibe check for when the dereference can happen

πŸ’– DESCRIPTION πŸ’–

so this one is similar to rcu_dereference_check, but it allows protection by all forms of vanilla RCU readers β€” including preemption-disabled, bh-disabled, and interrupt-disabled regions of code 🫢

quick vocab moment: β€œvanilla RCU” does not include SRCU or the various Tasks RCU flavors. periodt πŸ’…

🚨 important bestie warning: this macro should not be backported to any Linux-kernel version preceding v5.0 because of changes in synchronize_rcu semantics prior to that version. like, do not do it, fr fr 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/rcupdate.h is right here in the group chat 🏠


okay that's the page, bestie β€” source/version ./include/linux, date October 2026, page rcu_dereference_all_check(9) πŸ’…βœ¨

πŸ“¦ where this page comes from