rcu_dereference_rtnl(9)
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 preferrtnl_dereferenceorrcu_dereference.
π SEE ALSO π
- Kernel file
./include/linux/rtnetlink.h rtnl_dereference(9)rcu_replace_pointer_rtnl(9)rtnl_notify_needed(9)
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
- 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