rcu_dereference_rtnl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

rcu_dereference_rtnl(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual ✨ this page is all about rcu_dereference_rtnl, and it is literally rcu_dereference with debug checking. no cap.


πŸ’– NAME πŸ’–

rcu_dereference_rtnl β€” rcu_dereference with debug checking. periodt.


🌸 SYNOPSIS 🌸

rcu_dereference_rtnl (p );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” the pointer to read, prior to dereferencing. that's the whole vibe, fr fr.

✨ DESCRIPTION ✨

So what it does: it does an rcu_dereference(p), but then it checks that the caller either holds rcu_read_lock or RTNL. that's the debug-checking part, bestie πŸ’…

Note : Please prefer rtnl_dereference or rcu_dereference.

🌈 SEE ALSO 🌈


k bye bestie 🫢 this iconic page comes from ./include/linux in the Kernel API Manual, dated October 2026, and it's rcu_dereference_rtnl(9) signing off πŸ’…βœ¨

πŸ“¦ where this page comes from